new plugins

This commit is contained in:
Christian Nieves
2023-12-04 20:19:14 +00:00
parent 0ef4e8a5bf
commit 8845a4303e
6 changed files with 154 additions and 89 deletions

View File

@ -0,0 +1,30 @@
return {
"ThePrimeagen/harpoon",
-- branch = "harpoon2"
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
local harpoon = require("harpoon")
-- REQUIRED
harpoon:setup()
vim.keymap.set("n", "<leader>h", function()
harpoon:list():append()
end)
vim.keymap.set("n", "<C-e>", function()
harpoon.ui:toggle_quick_menu(harpoon:list())
end)
-- vim.keymap.set("n", "<C-h>", function()
-- harpoon:list():select(1)
-- end)
-- vim.keymap.set("n", "<C-t>", function()
-- harpoon:list():select(2)
-- end)
-- vim.keymap.set("n", "<C-n>", function()
-- harpoon:list():select(3)
-- end)
-- vim.keymap.set("n", "<C-s>", function()
-- harpoon:list():select(4)
-- end)
end,
}