mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Update 2025-05-03 Update 2025-05-05 Update 2025-05-07 Update 2025-05-09 chore: use mini.nvim Update 2025-05-12 Update 2025-05-14 Update 2025-05-16 Update 2025-05-17 Update 2025-05-20 Update 2025-05-21 Update 2025-05-23 Update 2025-05-25 Update 2025-05-30
55 lines
883 B
Lua
55 lines
883 B
Lua
return {
|
|
"ThePrimeagen/harpoon",
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
branch = "harpoon2",
|
|
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 = "Toggle Harpoon Menu",
|
|
},
|
|
{
|
|
"<A-1>",
|
|
function()
|
|
require("harpoon"):list():select(1)
|
|
end,
|
|
desc = "Harpoon [1]",
|
|
},
|
|
{
|
|
"<A-2>",
|
|
function()
|
|
require("harpoon"):list():select(2)
|
|
end,
|
|
desc = "Harpoon [2]",
|
|
},
|
|
{
|
|
"<A-3>",
|
|
function()
|
|
require("harpoon"):list():select(3)
|
|
end,
|
|
desc = "Harpoon [3]",
|
|
},
|
|
{
|
|
"<A-4>",
|
|
function()
|
|
require("harpoon"):list():select(4)
|
|
end,
|
|
desc = "Harpoon [4]",
|
|
},
|
|
},
|
|
|
|
config = function()
|
|
require("harpoon"):setup()
|
|
end,
|
|
}
|