From 0926f768c5ccfaf43fa49e73b2d4bfd7c78d4913 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sat, 16 May 2026 22:21:55 +0200 Subject: Remove unmaintained plugin Harpoon --- lua/aotrix/plugins/grapple.lua | 10 ++++++++++ lua/aotrix/plugins/harpoon.lua | 22 ---------------------- lua/aotrix/plugins/oil.lua | 6 +++++- 3 files changed, 15 insertions(+), 23 deletions(-) create mode 100644 lua/aotrix/plugins/grapple.lua delete mode 100644 lua/aotrix/plugins/harpoon.lua (limited to 'lua/aotrix') 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", "a", + function() require("grapple").toggle() end) + vim.keymap.set("n", "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", "a", function() harpoon:list():add() end) - vim.keymap.set("n", "hv", function() - harpoon.ui:toggle_quick_menu(harpoon:list()) - end) - vim.keymap.set("n", "", function() harpoon:list():select(1) end) - vim.keymap.set("n", "", function() harpoon:list():select(2) end) - vim.keymap.set("n", "", function() harpoon:list():select(3) end) - vim.keymap.set("n", "", 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 +} -- cgit v1.2.3