return { "ThePrimeagen/harpoon", opts = {}, config = function() vim.keymap.set("n", "m", [[lua require("harpoon.mark").add_file()]], { desc = "add harpoon mark to current file" }) vim.keymap.set("n", "M", [[lua require("harpoon.ui").toggle_quick_menu()]], { desc = "open harpoon quick menu" }) for i = 1, 5 do local keybinding = string.format("", i) local command = string.format("lua require('harpoon.ui').nav_file(%s)", i) vim.keymap.set("n", keybinding, command, { desc = string.format("go to %s° mark", i) }) end end }