diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-04-10 10:18:01 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-04-10 10:18:01 +0200 |
| commit | 08d5556ab2f104cc2daff59c078c12816b8c9acc (patch) | |
| tree | 2e72e8d8e555d92195ae7e1d9f34c732f5be7886 /lua/plugins/harpoon.lua | |
| parent | 11fa125e9ed415021a2c5223e396c8f73fa05a13 (diff) | |
| download | nvim-conf-08d5556ab2f104cc2daff59c078c12816b8c9acc.tar.gz nvim-conf-08d5556ab2f104cc2daff59c078c12816b8c9acc.zip | |
feat(general): update keymaps
Diffstat (limited to 'lua/plugins/harpoon.lua')
| -rw-r--r-- | lua/plugins/harpoon.lua | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lua/plugins/harpoon.lua b/lua/plugins/harpoon.lua index 06ec2aa..a214924 100644 --- a/lua/plugins/harpoon.lua +++ b/lua/plugins/harpoon.lua @@ -7,6 +7,7 @@ table.insert(keys, { function() require("harpoon.ui").toggle_quick_menu() end, + desc = "Harpoon Menu", }) table.insert(keys, { @@ -14,15 +15,17 @@ table.insert(keys, { function() require("harpoon.mark").add_file() end, + desc = "Harpoon Add file", }) table.insert(keys, { "<leader>st", - function () - vim.api.nvim_command([[vsplit]]) + function() + vim.api.nvim_command [[vsplit]] require("harpoon.term").gotoTerminal(1) - vim.api.nvim_command([[startinsert]]) - end + vim.api.nvim_command [[startinsert]] + end, + desc = "Harpoon quick split Terminal", }) for i = 1, terms do @@ -31,6 +34,7 @@ for i = 1, terms do function() require("harpoon.term").gotoTerminal(i) end, + desc = "Harpoon go to terminal " .. i, }) end @@ -40,6 +44,7 @@ for i = 1, binds do function() require("harpoon.ui").nav_file(i) end, + desc = "Harpoon go to file " .. i, }) end |