Merge branch 'main' of git.kanopo.dev:kanopo/dotfiles
This commit is contained in:
commit
2e62243815
14
nvim/lua/kanopo/plugins/harpoon.lua
Normal file
14
nvim/lua/kanopo/plugins/harpoon.lua
Normal file
@ -0,0 +1,14 @@
|
||||
return {
|
||||
"ThePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-telescope/telescope.nvim"
|
||||
},
|
||||
config = function()
|
||||
local harpoon = require('harpoon')
|
||||
harpoon:setup({})
|
||||
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)
|
||||
end
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user