mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
18 lines
326 B
Lua
18 lines
326 B
Lua
local status_ok, harpoon = pcall(require, "harpoon")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
local mark = require("harpoon.mark")
|
|
local ui = require("harpoon.ui")
|
|
|
|
harpoon.setup()
|
|
|
|
local keymap = vim.keymap.set
|
|
local opts = { silent = true }
|
|
|
|
for i = 1, 12, 1 do
|
|
keymap("n", "<F" .. i .. ">", function()
|
|
ui.nav_file(i)
|
|
end)
|
|
end
|