aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/after/plugin/harpoon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/after/plugin/harpoon.lua')
-rw-r--r--nvim/after/plugin/harpoon.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/nvim/after/plugin/harpoon.lua b/nvim/after/plugin/harpoon.lua
new file mode 100644
index 0000000..4a6ba87
--- /dev/null
+++ b/nvim/after/plugin/harpoon.lua
@@ -0,0 +1,12 @@
+local mark = require("harpoon.mark")
+local ui = require("harpoon.ui")
+
+vim.keymap.set("n", "<leader>a", mark.add_file)
+vim.keymap.set("n", "<C-e>", 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)
+
+