summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/aotrix/plugins/grapple.lua10
-rw-r--r--lua/aotrix/plugins/harpoon.lua22
-rw-r--r--lua/aotrix/plugins/oil.lua6
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
+}