mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
19 lines
325 B
Lua
19 lines
325 B
Lua
if not pcall(require, "harpoon") then
|
|
return
|
|
end
|
|
|
|
local ui = require("harpoon.ui")
|
|
|
|
vim.keymap.set("n", "<F1>", function()
|
|
ui.nav_file(1)
|
|
end)
|
|
vim.keymap.set("n", "<F2>", function()
|
|
ui.nav_file(2)
|
|
end)
|
|
vim.keymap.set("n", "<F3>", function()
|
|
ui.nav_file(3)
|
|
end)
|
|
vim.keymap.set("n", "<F4>", function()
|
|
ui.nav_file(4)
|
|
end)
|