From 10191f7fbeaf8524b249cf715aaac8e6d799ab49 Mon Sep 17 00:00:00 2001 From: FabricSoul Date: Sun, 17 Aug 2025 01:54:35 -0400 Subject: [PATCH] update: harpoon configs --- home/fabric/programs/nixvim.nix | 88 ++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 34 deletions(-) diff --git a/home/fabric/programs/nixvim.nix b/home/fabric/programs/nixvim.nix index 9ead0ba..8b2bf93 100644 --- a/home/fabric/programs/nixvim.nix +++ b/home/fabric/programs/nixvim.nix @@ -225,16 +225,6 @@ indent-blankline.enable = true; harpoon = { enable = true; - # keymaps = { - # addFile = "ha"; - # toggleQuickMenu = ""; - # navFile = { - # "1" = "h;"; - # "2" = "h,"; - # "3" = "h."; - # "4" = "hp"; - # }; - # }; }; yazi.enable = true; gitsigns = { @@ -504,40 +494,70 @@ keymaps = [ { mode = "n"; - key = "ha"; + key = ""; action.__raw = "function() require'harpoon':list():add() end"; options.desc = "Harpoon add file"; } { mode = "n"; - key = ""; + key = ""; action.__raw = "function() require'harpoon'.ui:toggle_quick_menu(require'harpoon':list()) end"; options.desc = "Harpoon quick menu"; } { mode = "n"; - key = "h;"; + key = ""; action.__raw = "function() require'harpoon':list():select(1) end"; options.desc = "Harpoon file 1"; } { mode = "n"; - key = "h,"; + key = ""; action.__raw = "function() require'harpoon':list():select(2) end"; options.desc = "Harpoon file 2"; } { mode = "n"; - key = "h."; + key = ""; action.__raw = "function() require'harpoon':list():select(3) end"; options.desc = "Harpoon file 3"; } { mode = "n"; - key = "hp"; + key = ""; action.__raw = "function() require'harpoon':list():select(4) end"; options.desc = "Harpoon file 4"; } + { + mode = "n"; + key = ""; + action.__raw = "function() require'harpoon':list():select(5) end"; + options.desc = "Harpoon file 5"; + } + { + mode = "n"; + key = ""; + action.__raw = "function() require'harpoon':list():select(6) end"; + options.desc = "Harpoon file 6"; + } + { + mode = "n"; + key = ""; + action.__raw = "function() require'harpoon':list():select(7) end"; + options.desc = "Harpoon file 7"; + } + { + mode = "n"; + key = ""; + action.__raw = "function() require'harpoon':list():select(8) end"; + options.desc = "Harpoon file 8"; + } + { + mode = "n"; + key = ""; + action.__raw = "function() require'harpoon':list():select(9) end"; + options.desc = "Harpoon file 9"; + } { mode = "n"; key = ""; @@ -547,24 +567,24 @@ remap = true; }; } - { - mode = "n"; - key = ""; - action = "j"; - options = { - desc = "Go to Lower Window"; - remap = true; - }; - } - { - mode = "n"; - key = ""; - action = "k"; - options = { - desc = "Go to Upper Window"; - remap = true; - }; - } + # { + # mode = "n"; + # key = ""; + # action = "j"; + # options = { + # desc = "Go to Lower Window"; + # remap = true; + # }; + # } + # { + # mode = "n"; + # key = ""; + # action = "k"; + # options = { + # desc = "Go to Upper Window"; + # remap = true; + # }; + # } { mode = "n"; key = "";