init.lua/lua/plugins/harpoon.lua(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 |
local map = require("core.utils").smap
return {
"ThePrimeagen/harpoon",
config = true,
keys = {
{ "<leader>a", map("harpoon.mark", "add_file") },
{ "<leader>1", map("harpoon.ui", "toggle_quick_menu") },
{ "<leader>2", map("harpoon.ui", "nav_file", "1") },
{ "<leader>3", map("harpoon.ui", "nav_file", "2") },
{ "<leader>4", map("harpoon.ui", "nav_file", "3") },
{ "<leader>5", map("harpoon.ui", "nav_file", "4") },
},
}
|