Updated plugins and added buffer manager
This commit is contained in:
@@ -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" })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user