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)