From 6bef8f32b19778fdfe52f0eb39719425508dcc7b Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 24 Apr 2025 11:36:39 +0300 Subject: Refactored nvim config to make it easier and less insanely nested --- .config/nvim/lua/custom/plugins/harpoon.lua | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .config/nvim/lua/custom/plugins/harpoon.lua (limited to '.config/nvim/lua/custom/plugins/harpoon.lua') diff --git a/.config/nvim/lua/custom/plugins/harpoon.lua b/.config/nvim/lua/custom/plugins/harpoon.lua deleted file mode 100644 index 5627e2f..0000000 --- a/.config/nvim/lua/custom/plugins/harpoon.lua +++ /dev/null @@ -1,23 +0,0 @@ -return { - 'ThePrimeagen/harpoon', - branch = 'harpoon2', - dependencies = { 'nvim-lua/plenary.nvim' }, - keys = { '', 'a', '1', '2', '3', '4', '5' }, - config = function() - local harpoon = require('harpoon') - harpoon:setup() - - vim.keymap.set('n', 'a', function() - harpoon:list():add() - end) - vim.keymap.set('n', '', function() - harpoon.ui:toggle_quick_menu(harpoon:list()) - end) - - for i = 1, 9 do - vim.keymap.set('n', string.format('%d', i), function() - harpoon:list():select(i) - end) - end - end, -} -- cgit v1.3.1