summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/harpoon.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/nvim/after/plugin/harpoon.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/harpoon.lua b/.config/nvim/after/plugin/harpoon.lua
new file mode 100644
index 0000000..3048fc7
--- /dev/null
+++ b/.config/nvim/after/plugin/harpoon.lua
@@ -0,0 +1,6 @@
+local mark = require('harpoon.mark')
+local ui = require('harpoon.ui')
+vim.keymap.set('n', '<M-1>', function() ui.nav_file(1) end)
+vim.keymap.set('n', '<M-2>', function() ui.nav_file(2) end)
+vim.keymap.set('n', '<M-3>', function() ui.nav_file(3) end)
+vim.keymap.set('n', '<M-4>', function() ui.nav_file(4) end)