summaryrefslogtreecommitdiff
path: root/lua/aotrix/plugins/harpoon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/aotrix/plugins/harpoon.lua')
-rw-r--r--lua/aotrix/plugins/harpoon.lua22
1 files changed, 0 insertions, 22 deletions
diff --git a/lua/aotrix/plugins/harpoon.lua b/lua/aotrix/plugins/harpoon.lua
deleted file mode 100644
index 69d1766..0000000
--- a/lua/aotrix/plugins/harpoon.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-return {
- 'ThePrimeagen/harpoon',
- branch = "harpoon2",
- dependencies = {'nvim-lua/plenary.nvim'},
- config = function()
- local harpoon = require("harpoon")
- harpoon.setup({
- settings = {
- -- sets the marks upon calling `toggle` on the ui, instead of require `:w`.
- save_on_toggle = true
- }
- })
- vim.keymap.set("n", "<leader>a", function() harpoon:list():add() end)
- vim.keymap.set("n", "<leader>hv", function()
- harpoon.ui:toggle_quick_menu(harpoon:list())
- end)
- vim.keymap.set("n", "<C-h>", function() harpoon:list():select(1) end)
- vim.keymap.set("n", "<C-l>", function() harpoon:list():select(2) end)
- vim.keymap.set("n", "<C-g>", function() harpoon:list():select(3) end)
- vim.keymap.set("n", "<C-m>", function() harpoon:list():select(4) end)
- end
-}