From fc46ab47b9bb92ad9c1839a3385a202440faad34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Wed, 9 Jul 2025 11:44:50 +0200 Subject: [PATCH] nvim/harpoon: remove bindings for insert mode --- .config/nvim/plugin/harpoon.lua | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.config/nvim/plugin/harpoon.lua b/.config/nvim/plugin/harpoon.lua index 4380de25..b64c21d9 100644 --- a/.config/nvim/plugin/harpoon.lua +++ b/.config/nvim/plugin/harpoon.lua @@ -6,15 +6,11 @@ harpoon:setup { } -- add and view -map({ "n", "i" }, "", function() harpoon:list():add() end) -map({ "n", "i" }, "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) +map("n", "", function() harpoon:list():add() end) +map("n", "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) -- switch it up! -map({ "n", "i" }, "", function() harpoon:list():select(1) end) -map({ "n", "i" }, "", function() harpoon:list():select(2) end) -map({ "n", "i" }, "", function() harpoon:list():select(3) end) -map({ "n", "i" }, "", function() harpoon:list():select(4) end) -map({ "n", "i" }, "", function() harpoon:list():select(5) end) -map({ "n", "i" }, "", function() harpoon:list():select(6) end) -map({ "n", "i" }, "", function() harpoon:list():select(7) end) -map({ "n", "i" }, "", function() harpoon:list():select(8) end) +map("n", "", function() harpoon:list():select(1) end) +map("n", "", function() harpoon:list():select(2) end) +map("n", "", function() harpoon:list():select(3) end) +map("n", "", function() harpoon:list():select(4) end)