Many updates
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
local map = require("liamm.core.keymap").nnoremap
|
||||
-- return {
|
||||
-- "theprimeagen/harpoon",
|
||||
-- branch = "harpoon2",
|
||||
-- dependencies = {
|
||||
-- "nvim-lua/plenary.nvim",
|
||||
-- },
|
||||
-- lazy = false,
|
||||
-- config = function()
|
||||
-- local harpoon = require("harpoon")
|
||||
--
|
||||
-- ---@diagnostic disable-next-line: missing-parameter
|
||||
-- harpoon:setup()
|
||||
-- map("<leader>a", function() harpoon:list():append() end)
|
||||
-- map("<leader>h", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
|
||||
-- map("<c-h>", function() harpoon:list():select(1) end)
|
||||
-- map("<c-h>", function() harpoon:list():select(2) end)
|
||||
-- map("<c-h>", function() harpoon:list():select(3) end)
|
||||
-- map("<c-h>", function() harpoon:list():select(4) end)
|
||||
-- end,
|
||||
-- }
|
||||
|
||||
return {
|
||||
"ThePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
config = function()
|
||||
local harpoon = require("harpoon")
|
||||
---@diagnostic disable-next-line: missing-parameter
|
||||
harpoon:setup()
|
||||
map("<leader>a", function() harpoon:list():add() end)
|
||||
map("<c-e>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
|
||||
map("<c-h>", function() harpoon:list():select(1) end)
|
||||
map("<c-j>", function() harpoon:list():select(2) end)
|
||||
map("<c-k>", function() harpoon:list():select(3) end)
|
||||
map("<c-l>", function() harpoon:list():select(4) end)
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user