{ lib, config, ... }: let inherit (lib) mkEnableOption mkIf; cfg = config.home.devtools.nixvim.plugins.harpoon; in { options = { home.devtools.nixvim.plugins.harpoon.enable = mkEnableOption "Enables Harpoon plugin for nixvim"; }; config = mkIf cfg.enable { programs.nixvim.plugins.harpoon = { enable = true; keymapsSilent = true; keymaps = { addFile = "a"; toggleQuickMenu = ""; navFile = { "1" = ""; "2" = ""; "3" = ""; "4" = ""; }; }; }; }; }