|
@ -25,18 +25,38 @@ return { |
|
|
harpoon:list():select(1) |
|
|
harpoon:list():select(1) |
|
|
end, { desc = "Go to first harpoon file" }) |
|
|
end, { desc = "Go to first harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<leader>h", function() |
|
|
|
|
|
harpoon:list():select(1) |
|
|
|
|
|
end, { desc = "Go to first harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<leader>2", function() |
|
|
keymap.set("n", "<leader>2", function() |
|
|
harpoon:list():select(2) |
|
|
harpoon:list():select(2) |
|
|
end, { desc = "Go to second harpoon file" }) |
|
|
end, { desc = "Go to second harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<leader>j", function() |
|
|
|
|
|
harpoon:list():select(2) |
|
|
|
|
|
end, { desc = "Go to second harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<leader>3", function() |
|
|
keymap.set("n", "<leader>3", function() |
|
|
harpoon:list():select(3) |
|
|
harpoon:list():select(3) |
|
|
end, { desc = "Go to third harpoon file" }) |
|
|
end, { desc = "Go to third harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<leader>k", function() |
|
|
|
|
|
harpoon:list():select(3) |
|
|
|
|
|
end, { desc = "Go to third harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<leader>4", function() |
|
|
keymap.set("n", "<leader>4", function() |
|
|
harpoon:list():select(4) |
|
|
harpoon:list():select(4) |
|
|
end, { desc = "Go to fourth harpoon file" }) |
|
|
end, { desc = "Go to fourth harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<leader>l", function() |
|
|
|
|
|
harpoon:list():select(4) |
|
|
|
|
|
end, { desc = "Go to fourth harpoon file" }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
keymap.set("n", "<C-S-P>", function() |
|
|
keymap.set("n", "<C-S-P>", function() |
|
|
harpoon:list():prev() |
|
|
harpoon:list():prev() |
|
|
end) |
|
|
end) |
|
|