-- Getting you where you want with the fewest keystrokes -- https://github.com/ThePrimeagen/harpoon return { "ThePrimeagen/harpoon", branch = "harpoon2", keys = { { "a", function() require("harpoon"):list():add() end, desc = "Harpoon Add File", }, { ";", function() local harpoon = require("harpoon") harpoon.ui:toggle_quick_menu(harpoon:list()) end, desc = "Harpoon Quickmenu", }, { "1", function() require("harpoon"):list():select(1) end, desc = "Harpoon Buffer 1", }, { "2", function() require("harpoon"):list():select(2) end, desc = "Harpoon Buffer 2", }, { "3", function() require("harpoon"):list():select(3) end, desc = "Harpoon Buffer 3", }, { "4", function() require("harpoon"):list():select(4) end, desc = "Harpoon Buffer 4", }, { "5", function() require("harpoon"):list():select(5) end, desc = "Harpoon Buffer 5", }, }, opts = { menu = { width = vim.api.nvim_win_get_width(0) - 4, }, }, }