diff options
Diffstat (limited to 'nvim/lua/plugins/harpoon.lua')
| -rw-r--r-- | nvim/lua/plugins/harpoon.lua | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/nvim/lua/plugins/harpoon.lua b/nvim/lua/plugins/harpoon.lua index 061ca9e..123b5db 100644 --- a/nvim/lua/plugins/harpoon.lua +++ b/nvim/lua/plugins/harpoon.lua @@ -6,41 +6,53 @@ return { require("harpoon"):setup() end, keys = { - {"<leader><cr>", function() + { + "<leader><cr>", + function() local harpoon = require("harpoon") harpoon.ui:toggle_quick_menu(harpoon:list()) end, desc = "Open Harpoon Quickmenu" }, - {"<leader>m", function() + { + "<leader>m", + function() local harpoon = require("harpoon") harpoon:list():append() end, desc = "Add file to harpoon" }, - {"<leader>1", function() + { + "<leader>1", + function() local harpoon = require("harpoon") harpoon:list():select(1) end, desc = "Navigate to the first file" }, - {"<leader>2", function() + { + "<leader>2", + function() local harpoon = require("harpoon") harpoon:list():select(2) end, desc = "Navigate to the second file" }, - {"<leader>3", function() + { + "<leader>3", + function() local harpoon = require("harpoon") harpoon:list():select(3) end, desc = "Navigate to the third file" }, - {"<leader>4", function() + { + "<leader>4", + function() local harpoon = require("harpoon") harpoon:list():select(4) end, desc = "Navigate to the fourth file" }, - } + } } |
