From c1d6bc6b4fd5208c7f3df0694f7aab501943981b Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 13 Aug 2023 08:44:49 +0100 Subject: Adds primeagen neovim configuration --- nvim-primeagen/after/plugin/harpoon.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nvim-primeagen/after/plugin/harpoon.lua (limited to 'nvim-primeagen/after/plugin/harpoon.lua') diff --git a/nvim-primeagen/after/plugin/harpoon.lua b/nvim-primeagen/after/plugin/harpoon.lua new file mode 100644 index 0000000..4f57af5 --- /dev/null +++ b/nvim-primeagen/after/plugin/harpoon.lua @@ -0,0 +1,10 @@ +local mark = require("harpoon.mark") +local ui = require("harpoon.ui") + +vim.keymap.set("n", "a", mark.add_file) +vim.keymap.set("n", "bh", ui.toggle_quick_menu) + +vim.keymap.set("n", "", function() ui.nav_file(1) end) +vim.keymap.set("n", "", function() ui.nav_file(2) end) +vim.keymap.set("n", "", function() ui.nav_file(3) end) +vim.keymap.set("n", "", function() ui.nav_file(4) end) -- cgit v1.2.3