harpoon
This commit is contained in:
15
lua/plugins/harpoon.lua
Normal file
15
lua/plugins/harpoon.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
return {
|
||||
"thePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
local harpoon = require('harpoon')
|
||||
vim.keymap.set("n", "<leader>a", function() harpoon:list():add() end)
|
||||
vim.keymap.set("n", "<C-e>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
|
||||
vim.keymap.set("n", "<C-p>", function() harpoon:list():prev() end)
|
||||
vim.keymap.set("n", "<C-n>", function() harpoon:list():next() end)
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user