local harpoon = require("harpoon") local map = vim.keymap.set harpoon:setup { settings = { save_on_toggle = true }, } -- add and view map("n", "", function() harpoon:list():add() end) map("n", "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) -- switch it up! 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)