diff --git a/lua/custom/plugins/harpoon.lua b/lua/custom/plugins/harpoon.lua index a2cb64b..9e45d2d 100644 --- a/lua/custom/plugins/harpoon.lua +++ b/lua/custom/plugins/harpoon.lua @@ -33,5 +33,16 @@ return { vim.keymap.set('n', 'ho', function() toggle_telescope(harpoon:list()) end, { desc = '[H]arpoon [Open]' }) + -- Append to harpoon list + vim.keymap.set('n', 'ha', function() + harpoon:list():append() + end, { desc = '[H]arpoon [A]ppend' }) + -- Toggle previous & next buffers stored within Harpoon list + vim.keymap.set('n', '', function() + harpoon:list():prev() + end) + vim.keymap.set('n', '', function() + harpoon:list():next() + end) end, }