treewide: add global flag to disable default keymaps

This commit is contained in:
Ching Pei Yang 2025-07-24 15:41:10 +02:00
commit 9902836a90
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
31 changed files with 170 additions and 165 deletions

View file

@ -7,12 +7,12 @@
in {
options.vim.navigation.harpoon = {
mappings = {
markFile = mkMappingOption "Mark file [Harpoon]" "<leader>a";
listMarks = mkMappingOption "List marked files [Harpoon]" "<C-e>";
file1 = mkMappingOption "Go to marked file 1 [Harpoon]" "<C-j>";
file2 = mkMappingOption "Go to marked file 2 [Harpoon]" "<C-k>";
file3 = mkMappingOption "Go to marked file 3 [Harpoon]" "<C-l>";
file4 = mkMappingOption "Go to marked file 4 [Harpoon]" "<C-;>";
markFile = mkMappingOption config.vim.enableNvfKeymaps "Mark file [Harpoon]" "<leader>a";
listMarks = mkMappingOption config.vim.enableNvfKeymaps "List marked files [Harpoon]" "<C-e>";
file1 = mkMappingOption config.vim.enableNvfKeymaps "Go to marked file 1 [Harpoon]" "<C-j>";
file2 = mkMappingOption config.vim.enableNvfKeymaps "Go to marked file 2 [Harpoon]" "<C-k>";
file3 = mkMappingOption config.vim.enableNvfKeymaps "Go to marked file 3 [Harpoon]" "<C-l>";
file4 = mkMappingOption config.vim.enableNvfKeymaps "Go to marked file 4 [Harpoon]" "<C-;>";
};
enable = mkEnableOption "Quick bookmarks on keybinds [Harpoon]";