diff options
| author | Aotrix <[email protected]> | 2026-05-16 22:21:55 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-05-16 22:21:55 +0200 |
| commit | 0926f768c5ccfaf43fa49e73b2d4bfd7c78d4913 (patch) | |
| tree | 4639cd21190fc92ad5a745c090d4244a2e6f7bba /lua | |
| parent | b536160cdb1e78a90ac26bc59615611c7735f786 (diff) | |
Remove unmaintained plugin Harpoon
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/aotrix/plugins/grapple.lua | 10 | ||||
| -rw-r--r-- | lua/aotrix/plugins/harpoon.lua | 22 | ||||
| -rw-r--r-- | lua/aotrix/plugins/oil.lua | 6 |
3 files changed, 15 insertions, 23 deletions
diff --git a/lua/aotrix/plugins/grapple.lua b/lua/aotrix/plugins/grapple.lua new file mode 100644 index 0000000..e685f67 --- /dev/null +++ b/lua/aotrix/plugins/grapple.lua @@ -0,0 +1,10 @@ +return { + 'cbochs/grapple.nvim', + dependencies = {"nvim-tree/nvim-web-devicons"}, + config = function() + vim.keymap.set("n", "<leader>a", + function() require("grapple").toggle() end) + vim.keymap.set("n", "<leader>hv", + function() require("grapple").toggle_tags() end) + end +} 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 -} diff --git a/lua/aotrix/plugins/oil.lua b/lua/aotrix/plugins/oil.lua index d71cd7b..4e216b3 100644 --- a/lua/aotrix/plugins/oil.lua +++ b/lua/aotrix/plugins/oil.lua @@ -1 +1,5 @@ -return {"stevearc/oil.nvim", config = function() require("oil").setup() end} +return { + "stevearc/oil.nvim", + dependencies = {"nvim-tree/nvim-web-devicons"}, + config = function() require("oil").setup() end +} |
