require("harpoon").setup() local mark = require "harpoon.mark" local ui = require "harpoon.ui" vim.keymap.set("n", "", ui.toggle_quick_menu) vim.keymap.set("n", "", mark.add_file) vim.keymap.set("n", "ha", mark.add_file) vim.keymap.set("n", "hc", mark.clear_all) vim.keymap.set("n", "ho", ui.toggle_quick_menu) vim.keymap.set("n", "hr", mark.rm_file) for i = 1, 5 do vim.keymap.set("n", string.format("%s", i), function() ui.nav_file(i) end) end