mirror of https://github.com/LazyVim/starter
26 lines
533 B
Plaintext
26 lines
533 B
Plaintext
local harpoon = require("harpoon")
|
|
|
|
-- REQUIRED
|
|
harpoon:setup()
|
|
-- REQUIRED
|
|
|
|
vim.keymap.set("n", "<leader>h", function()
|
|
harpoon:list():append()
|
|
end)
|
|
vim.keymap.set("n", "<C-e>", function()
|
|
harpoon.ui:toggle_quick_menu(harpoon:list())
|
|
end)
|
|
|
|
vim.keymap.set("n", "<C-h>", function()
|
|
harpoon:list():select(1)
|
|
end)
|
|
vim.keymap.set("n", "<C-t>", function()
|
|
harpoon:list():select(2)
|
|
end)
|
|
vim.keymap.set("n", "<C-n>", function()
|
|
harpoon:list():select(3)
|
|
end)
|
|
vim.keymap.set("n", "<C-s>", function()
|
|
harpoon:list():select(4)
|
|
end)
|