18 lines
732 B
Lua
18 lines
732 B
Lua
-- Keymaps are automatically loaded on the VeryLazy event
|
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
|
-- Add any additional keymaps here
|
|
vim.keymap.set({ "i", "x", "n", "s" }, "<f1>", function()
|
|
require("harpoon"):list():select(1)
|
|
end, { desc = "Harpoon file 1" })
|
|
|
|
vim.keymap.set({ "i", "x", "n", "s" }, "<f2>", function()
|
|
require("harpoon"):list():select(2)
|
|
end, { desc = "Harpoon file 2" })
|
|
|
|
vim.keymap.set({ "i", "x", "n", "s" }, "<f3>", function()
|
|
require("harpoon"):list():select(3)
|
|
end, { desc = "Harpoon file 3" })
|
|
|
|
vim.keymap.set({ "i", "x", "n", "s" }, "<f4>", function()
|
|
require("harpoon"):list():select(4)
|
|
end, { desc = "Harpoon file 4" })
|