--- @type LazyPluginSpec return { "ThePrimeagen/harpoon", branch = "harpoon2", dependencies = { "nvim-lua/plenary.nvim", { "TakenMC/harpoon-lualine", branch = "seperator", }, -- "letieu/harpoon-lualine", }, config = function() local harpoon = require("harpoon") harpoon:setup() vim.keymap.set("n", "a", function() harpoon:list():append() end, { silent = true, desc = "Append current file to harpoon" }) vim.keymap.set("n", "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end, { silent = true, desc = "Toggle harpoon quick menu" }) vim.keymap.set("n", "", function() harpoon:list():select(1) end, { silent = true, desc = "Jumps to item 1 in the list" }) vim.keymap.set("n", "", function() harpoon:list():select(2) end, { silent = true, desc = "Jumps to item 2 in the list" }) vim.keymap.set("n", "", function() harpoon:list():select(3) end, { silent = true, desc = "Jumps to item 3 in the list" }) vim.keymap.set("n", "", function() harpoon:list():select(4) end, { silent = true, desc = "Jumps to item 4 in the list" }) end, }