local status_ok, harpoon = pcall(require, "harpoon") if not status_ok then return end local nmap = require("opdavies.keymap").nmap harpoon.setup {} nmap { "", require("harpoon.ui").toggle_quick_menu } nmap { "", require("harpoon.mark").add_file } for i = 1, 5 do nmap { string.format("%s", i), function() require("harpoon.ui").nav_file(i) end, } end