summaryrefslogtreecommitdiffstats
path: root/nvim-primeagen/after/plugin/harpoon.lua
blob: 4f57af594a5d82b425cb6406ffbae9bba8495050 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
local mark = require("harpoon.mark")
local ui = require("harpoon.ui")

vim.keymap.set("n", "<leader>a", mark.add_file)
vim.keymap.set("n", "<leader>bh", ui.toggle_quick_menu)

vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end)
vim.keymap.set("n", "<C-n>", function() ui.nav_file(3) end)
vim.keymap.set("n", "<C-s>", function() ui.nav_file(4) end)