From 45f0b4bcefda9b8f38e90cd08d3da40c94cdb49d Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Wed, 24 Apr 2024 10:48:24 +0930 Subject: [PATCH] fix: remap harpoon --- .config/nvim/lua/tovi/plugins/harpoon.lua | 30 +++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.config/nvim/lua/tovi/plugins/harpoon.lua b/.config/nvim/lua/tovi/plugins/harpoon.lua index 24162ec..5edf911 100644 --- a/.config/nvim/lua/tovi/plugins/harpoon.lua +++ b/.config/nvim/lua/tovi/plugins/harpoon.lua @@ -22,20 +22,20 @@ return { harpoon.ui:toggle_quick_menu(harpoon:list()) end, { desc = "Toggle quick menu for harpoon" }) - -- keymap.set("n", "", function() - -- harpoon:list():select(1) - -- end, { desc = "Go to first harpoon file" }) - -- - -- keymap.set("n", "", function() - -- harpoon:list():select(2) - -- end, { desc = "Go to second harpoon file" }) - -- - -- keymap.set("n", "", function() - -- harpoon:list():select(3) - -- end, { desc = "Go to third harpoon file" }) - -- - -- keymap.set("n", "", function() - -- harpoon:list():select(4) - -- end, { desc = "Go to fourth harpoon file" }) + keymap.set("n", "", function() + harpoon:list():select(1) + end, { desc = "Go to first harpoon file" }) + + keymap.set("n", "", function() + harpoon:list():select(2) + end, { desc = "Go to second harpoon file" }) + + keymap.set("n", "", function() + harpoon:list():select(3) + end, { desc = "Go to third harpoon file" }) + + keymap.set("n", "", function() + harpoon:list():select(4) + end, { desc = "Go to fourth harpoon file" }) end, }