initial
This commit is contained in:
26
config/utils/harpoon.nix
Normal file
26
config/utils/harpoon.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
harpoon.enable = lib.mkEnableOption "Enable harpoon module";
|
||||
};
|
||||
config = lib.mkIf config.harpoon.enable {
|
||||
plugins.harpoon = {
|
||||
enable = true;
|
||||
enableTelescope = true;
|
||||
keymapsSilent = true;
|
||||
keymaps = {
|
||||
addFile = "<leader>ha";
|
||||
toggleQuickMenu = "<C-e>";
|
||||
navFile = {
|
||||
"1" = "<leader>hj";
|
||||
"2" = "<leader>hk";
|
||||
"3" = "<leader>hl";
|
||||
"4" = "<leader>hm";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user