diff options
| author | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2024-01-15 16:15:05 -0500 |
|---|---|---|
| committer | Jean-Pierre Appel <jeanpierre.appel01@gmail.com> | 2024-01-15 16:15:05 -0500 |
| commit | 2cb9af61acfda466b747e5b18c947d1538c1240e (patch) | |
| tree | cdb258438ffc2d255cf16eb8988fa0f4f7954e6d /nvim/lua/plugins/harpoon.lua | |
| parent | be7a52c6885048ed618f312070e55ab25bafb60d (diff) | |
refactor: setup completions less insanely
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" }, - } + } } |
