Browse Source

fix: remap harpoon

master
Tovi Jaeschke-Rogers 7 months ago
parent
commit
45f0b4bcef
1 changed files with 15 additions and 15 deletions
  1. +15
    -15
      .config/nvim/lua/tovi/plugins/harpoon.lua

+ 15
- 15
.config/nvim/lua/tovi/plugins/harpoon.lua View File

@ -22,20 +22,20 @@ return {
harpoon.ui:toggle_quick_menu(harpoon:list()) harpoon.ui:toggle_quick_menu(harpoon:list())
end, { desc = "Toggle quick menu for harpoon" }) end, { desc = "Toggle quick menu for harpoon" })
-- keymap.set("n", "<C-h>", function()
-- harpoon:list():select(1)
-- end, { desc = "Go to first harpoon file" })
--
-- keymap.set("n", "<C-j>", function()
-- harpoon:list():select(2)
-- end, { desc = "Go to second harpoon file" })
--
-- keymap.set("n", "<C-k>", function()
-- harpoon:list():select(3)
-- end, { desc = "Go to third harpoon file" })
--
-- keymap.set("n", "<C-l>", function()
-- harpoon:list():select(4)
-- end, { desc = "Go to fourth harpoon file" })
keymap.set("n", "<C-S-h>", function()
harpoon:list():select(1)
end, { desc = "Go to first harpoon file" })
keymap.set("n", "<C-S-j>", function()
harpoon:list():select(2)
end, { desc = "Go to second harpoon file" })
keymap.set("n", "<C-S-k>", function()
harpoon:list():select(3)
end, { desc = "Go to third harpoon file" })
keymap.set("n", "<C-S-l>", function()
harpoon:list():select(4)
end, { desc = "Go to fourth harpoon file" })
end, end,
} }

Loading…
Cancel
Save