From b2dd5953b3899f30f20e2203c91dcf58cd8435bf Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sat, 21 Mar 2026 14:51:33 +0100 Subject: I love neovim tabs --- lua/aotrix/plugins/harpoon.lua | 20 -------------------- lua/aotrix/remap.lua | 5 ++++- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 lua/aotrix/plugins/harpoon.lua (limited to 'lua/aotrix') diff --git a/lua/aotrix/plugins/harpoon.lua b/lua/aotrix/plugins/harpoon.lua deleted file mode 100644 index 6127ca9..0000000 --- a/lua/aotrix/plugins/harpoon.lua +++ /dev/null @@ -1,20 +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/remap.lua b/lua/aotrix/remap.lua index 72a854b..52e9771 100644 --- a/lua/aotrix/remap.lua +++ b/lua/aotrix/remap.lua @@ -15,4 +15,7 @@ vim.keymap.set({"n", "v"}, "y", [["+y]]) vim.keymap.set("n", "Y", [["+Y]]) -- Remove because it is not fast enough -vim.keymap.set({'n', 'i', 'v'}, '', '') +vim.keymap.set({"n", "i", "v"}, '', '') + +vim.keymap.set("n", "", "gT") +vim.keymap.set("n", "", "gt") -- cgit v1.2.3