about summary refs log tree commit diff
path: root/neovim/lua/plugins/harpoon.lua
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2025-02-27 17:06:42 +0000
committervenomade <venomade@venomade.com>2025-02-27 17:06:42 +0000
commit1cace80e4832a5d250ef4b7ccd687996563fb01b (patch)
treedb1ced91d1382ca3cabe37dbae00da51231d6a99 /neovim/lua/plugins/harpoon.lua
Add old dotfiles
Diffstat (limited to 'neovim/lua/plugins/harpoon.lua')
-rw-r--r--neovim/lua/plugins/harpoon.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/neovim/lua/plugins/harpoon.lua b/neovim/lua/plugins/harpoon.lua
new file mode 100644
index 0000000..dc1b3ce
--- /dev/null
+++ b/neovim/lua/plugins/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-h>", ui.toggle_quick_menu)
+
+vim.keymap.set("n", "<C-n>", function() ui.nav_file(1) end)
+vim.keymap.set("n", "<C-e>", function() ui.nav_file(2) end)
+vim.keymap.set("n", "<C-i>", function() ui.nav_file(3) end)
+vim.keymap.set("n", "<C-o>", function() ui.nav_file(4) end)