nvim/harpoon: remove bindings for insert mode

This commit is contained in:
Primrose 2025-07-09 11:44:50 +02:00
parent 7df69fda69
commit fc46ab47b9
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -6,15 +6,11 @@ harpoon:setup {
}
-- add and view
map({ "n", "i" }, "<A-c>", function() harpoon:list():add() end)
map({ "n", "i" }, "<A-g>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
map("n", "<A-c>", function() harpoon:list():add() end)
map("n", "<A-g>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
-- switch it up!
map({ "n", "i" }, "<A-h>", function() harpoon:list():select(1) end)
map({ "n", "i" }, "<A-t>", function() harpoon:list():select(2) end)
map({ "n", "i" }, "<A-n>", function() harpoon:list():select(3) end)
map({ "n", "i" }, "<A-s>", function() harpoon:list():select(4) end)
map({ "n", "i" }, "<A-m>", function() harpoon:list():select(5) end)
map({ "n", "i" }, "<A-w>", function() harpoon:list():select(6) end)
map({ "n", "i" }, "<A-v>", function() harpoon:list():select(7) end)
map({ "n", "i" }, "<A-z>", function() harpoon:list():select(8) end)
map("n", "<A-h>", function() harpoon:list():select(1) end)
map("n", "<A-t>", function() harpoon:list():select(2) end)
map("n", "<A-n>", function() harpoon:list():select(3) end)
map("n", "<A-s>", function() harpoon:list():select(4) end)