summaryrefslogtreecommitdiff
path: root/after/plugin/harpoon.lua
diff options
context:
space:
mode:
authorNate Buttke <nate-web@riseup.net>2023-08-16 09:45:29 -0700
committerNate Buttke <nate-web@riseup.net>2023-08-16 09:45:29 -0700
commit249b5005e4c286fb7858438f4e6731a6d44ae6f5 (patch)
tree4d7b309e78f3b6f914204192d5e0446d6c03a80b /after/plugin/harpoon.lua
init
Diffstat (limited to 'after/plugin/harpoon.lua')
-rw-r--r--after/plugin/harpoon.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/after/plugin/harpoon.lua b/after/plugin/harpoon.lua
new file mode 100644
index 0000000..eed35ed
--- /dev/null
+++ b/after/plugin/harpoon.lua
@@ -0,0 +1,10 @@
+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)