require("harpoon").setup() local nmap = require("opdavies.keymap").nmap nmap { "", require("harpoon.ui").toggle_quick_menu } nmap { "", require("harpoon.mark").add_file } nmap { "hl", require("harpoon.ui").toggle_quick_menu } nmap { "hm", require("harpoon.mark").add_file } for i = 1, 5 do nmap { string.format("%s", i), function() require("harpoon.ui").nav_file(i) end, } end