local harpoon = require("harpoon") -- REQUIRED harpoon:setup() -- REQUIRED vim.keymap.set("n", "a", function() harpoon:list():add() end) vim.keymap.set("n", "", function() harpoon:list():add() end) vim.keymap.set("n", "h", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) vim.keymap.set("n", "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) vim.keymap.set("n", "", function() harpoon:list():select(1) end) vim.keymap.set("n", "", function() harpoon:list():select(2) end) vim.keymap.set("n", "", function() harpoon:list():select(3) end) vim.keymap.set("n", "", function() harpoon:list():select(4) end) vim.keymap.set("n", "", function() harpoon:list():select(5) end) vim.keymap.set("n", "", function() harpoon:list():select(6) end) vim.keymap.set("n", "", function() harpoon:list():select(7) end) vim.keymap.set("n", "", function() harpoon:list():select(8) end) vim.keymap.set("n", "", function() harpoon:list():select(9) end) -- Toggle previous & next buffers stored within Harpoon list vim.keymap.set("n", "", function() harpoon:list():next() end) vim.keymap.set("n", "", function() harpoon:list():prev() end)