diff options
author | ben <ben@nagy.contact> | 2025-06-25 12:48:58 -0700 |
---|---|---|
committer | ben <ben@nagy.contact> | 2025-06-25 12:48:58 -0700 |
commit | 0e6136a61bd539e52987ca5d8aeacdda0e80e3b2 (patch) | |
tree | b864f79a526b1ed2e88fe7b6108b833fcd027d48 /config/nvim/lua/plugins/harpoon.lua | |
parent | 564229f11b6a6b86a37379a8c6855f5033ce58a2 (diff) |
stuffmain
Diffstat (limited to 'config/nvim/lua/plugins/harpoon.lua')
-rw-r--r-- | config/nvim/lua/plugins/harpoon.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins/harpoon.lua b/config/nvim/lua/plugins/harpoon.lua new file mode 100644 index 0000000..f13d18e --- /dev/null +++ b/config/nvim/lua/plugins/harpoon.lua @@ -0,0 +1,19 @@ +return { + { + "ThePrimeagen/harpoon", + lazy = false, + dependencies = { 'nvim-lua/plenary.nvim' }, + + config = function() + local mark = require("harpoon.mark") + local ui = require("harpoon.ui") + + vim.keymap.set("n", "<leader>a", mark.add_file) + vim.keymap.set("n", "<leader>l", ui.toggle_quick_menu) + vim.keymap.set("n", "<C-j>", function() ui.nav_file(1) end) + vim.keymap.set("n", "<C-k>", function() ui.nav_file(2) end) + vim.keymap.set("n", "<C-l>", function() ui.nav_file(3) end) + vim.keymap.set("n", "<C-;>", function() ui.nav_file(4) end) + end + }, +} |