From 038a12fbef85367d41e73dc9d7e8bb3a51260232 Mon Sep 17 00:00:00 2001 From: MimiValsi Date: Sat, 28 Sep 2024 08:44:52 +0200 Subject: [PATCH] Add path shortcuts --- lua/kickstart/plugins/harpoon.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lua/kickstart/plugins/harpoon.lua b/lua/kickstart/plugins/harpoon.lua index 779d1f8a..5095f31f 100644 --- a/lua/kickstart/plugins/harpoon.lua +++ b/lua/kickstart/plugins/harpoon.lua @@ -22,17 +22,37 @@ return { map('n', '1', function() harpoon:list():select(1) end, { desc = '[Harpoon] Go to first buffer saved' }) + map('n', '2', function() harpoon:list():select(2) end, { desc = '[Harpoon] Go to second buffer saved' }) + map('n', '3', function() harpoon:list():select(3) end, { desc = '[Harpoon] Go to third buffer saved' }) + map('n', '4', function() harpoon:list():select(4) end, { desc = '[Harpoon] Go to forth buffer saved' }) + map('n', '5', function() harpoon:list():select(5) end, { desc = '[Harpoon] Go to forth buffer saved' }) + + map('n', '6', function() + harpoon:list():select(6) + end, { desc = '[Harpoon] Go to forth buffer saved' }) + + map('n', '7', function() + harpoon:list():select(7) + end, { desc = '[Harpoon] Go to forth buffer saved' }) + + map('n', '8', function() + harpoon:list():select(8) + end, { desc = '[Harpoon] Go to forth buffer saved' }) + + map('n', '9', function() + harpoon:list():select(9) + end, { desc = '[Harpoon] Go to forth buffer saved' }) end, }