From 52b6d67dc6b7c1ba5b7a3663fca836962e855905 Mon Sep 17 00:00:00 2001 From: Jeremie Fraeys Date: Sun, 8 Feb 2026 16:56:07 -0500 Subject: [PATCH] fix: separate harpoon select and prev/next keymaps --- lua/custom/plugins/harpoon.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lua/custom/plugins/harpoon.lua b/lua/custom/plugins/harpoon.lua index 19351bb..20206da 100755 --- a/lua/custom/plugins/harpoon.lua +++ b/lua/custom/plugins/harpoon.lua @@ -4,10 +4,12 @@ return { keys = { { 'a', desc = 'Harpoon: Add file' }, { '', desc = 'Harpoon: Toggle menu' }, - { '', desc = 'Harpoon: Select 1/Prev' }, + { '', desc = 'Harpoon: Select 1' }, { '', desc = 'Harpoon: Select 2' }, { '', desc = 'Harpoon: Select 3' }, - { '', desc = 'Harpoon: Select 4/Next' }, + { '', desc = 'Harpoon: Select 4' }, + { '', desc = 'Harpoon: Prev' }, + { '', desc = 'Harpoon: Next' }, }, dependencies = { 'nvim-lua/plenary.nvim' }, config = function() @@ -125,10 +127,10 @@ return { harpoon:list():select(4) end) - vim.keymap.set('n', '', function() + vim.keymap.set('n', '', function() harpoon:list():prev() end) - vim.keymap.set('n', '', function() + vim.keymap.set('n', '', function() harpoon:list():next() end) end,