Updated plugins and added buffer manager

This commit is contained in:
2024-03-18 14:11:01 +01:00
parent 7208b24e1d
commit 59a1df2435
6 changed files with 118 additions and 116 deletions

View File

@@ -2,7 +2,10 @@
return {
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
dependencies = {
"nvim-lua/plenary.nvim",
"letieu/harpoon-lualine",
},
config = function()
local harpoon = require("harpoon")
@@ -11,7 +14,7 @@ return {
vim.keymap.set("n", "<leader>a", function()
harpoon:list():append()
end, { silent = true, desc = "Append current file to harpoon" })
vim.keymap.set("n", "<leader>th", function()
vim.keymap.set("n", "<A-h>", function()
harpoon.ui:toggle_quick_menu(harpoon:list())
end, { silent = true, desc = "Toggle harpoon quick menu" })