change harpoon keybinds to fit with AI key
This commit is contained in:
@@ -5,3 +5,4 @@ return {
|
|||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,12 +5,50 @@ return {
|
|||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
opts = {},
|
opts = {},
|
||||||
keys = {
|
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" },
|
"<leader>h",
|
||||||
{ "<C-1>", function() require("harpoon"):list():select(1) end, desc = "Harpoon File 1" },
|
function()
|
||||||
{ "<C-2>", function() require("harpoon"):list():select(2) end, desc = "Harpoon File 2" },
|
require("harpoon"):list():add()
|
||||||
{ "<C-3>", function() require("harpoon"):list():select(3) end, desc = "Harpoon File 3" },
|
end,
|
||||||
{ "<C-4>", function() require("harpoon"):list():select(4) end, desc = "Harpoon File 4" },
|
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",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user