16 lines
781 B
Lua
16 lines
781 B
Lua
return {
|
|
{
|
|
"ThePrimeagen/harpoon",
|
|
branch = "harpoon2",
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
opts = {},
|
|
keys = {
|
|
{ "<leader>a", function() require("harpoon"):list():add() end, desc = "Harpoon Add File" },
|
|
{ "<C-e>", function() local harpoon = require("harpoon") harpoon.ui:toggle_quick_menu(harpoon:list()) end, desc = "Harpoon Quick Menu" },
|
|
{ "<C-1>", function() require("harpoon"):list():select(1) end, desc = "Harpoon File 1" },
|
|
{ "<C-2>", function() require("harpoon"):list():select(2) end, desc = "Harpoon File 2" },
|
|
{ "<C-3>", function() require("harpoon"):list():select(3) end, desc = "Harpoon File 3" },
|
|
{ "<C-4>", function() require("harpoon"):list():select(4) end, desc = "Harpoon File 4" },
|
|
},
|
|
},
|
|
} |