summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/harpoon.lua
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-22 12:06:56 +0200
committerJoe <rrbo@proton.me>2023-09-22 12:06:56 +0200
commit501e490395bcf39d220a4f62848acaad412d958d (patch)
treefda84fbf6ed515131f2e2c1e97bf0e40ac76dbbe /.config/nvim/after/plugin/harpoon.lua
parentup (diff)
downloaddotfiles-bsd-501e490395bcf39d220a4f62848acaad412d958d.tar.gz
dotfiles-bsd-501e490395bcf39d220a4f62848acaad412d958d.tar.bz2
dotfiles-bsd-501e490395bcf39d220a4f62848acaad412d958d.tar.xz
dotfiles-bsd-501e490395bcf39d220a4f62848acaad412d958d.tar.zst
dotfiles-bsd-501e490395bcf39d220a4f62848acaad412d958d.zip
up
Diffstat (limited to '.config/nvim/after/plugin/harpoon.lua')
-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)