harpoon2: removed custom keybindings

This commit is contained in:
Tigor Hutasuhut 2024-07-26 15:28:45 +07:00
parent 2e5e8d4f5b
commit a9e81b96d4

View file

@ -1,32 +0,0 @@
return {
"ThePrimeagen/harpoon",
keys = function()
local keys = {
{
"<leader>H",
function()
require("harpoon"):list():add()
end,
desc = "Harpoon File",
},
{
"<leader>h",
function()
local harpoon = require "harpoon"
harpoon.ui:toggle_quick_menu(harpoon:list())
end,
desc = "Harpoon Quick Menu",
},
}
for i = 1, 5 do
table.insert(keys, {
tostring(i),
function()
require("harpoon"):list():select(i)
end,
desc = "Harpoon to File " .. i,
})
end
return keys
end,
}