diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2025-08-30 15:00:26 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2025-08-30 15:00:26 -0300 |
| commit | bcb5775dabf2b9144d8a87721d0095d087827f3e (patch) | |
| tree | c7860b9054e13f97cbc13d0eec103cd561a78da2 /lua/plugins | |
| parent | 703b88587bf5bfa7468edffe35be956fe0a06f35 (diff) | |
| download | nvim-conf-bcb5775dabf2b9144d8a87721d0095d087827f3e.tar.gz nvim-conf-bcb5775dabf2b9144d8a87721d0095d087827f3e.zip | |
feat(keymaps, plugins): agrega integración con Floaterm y elimina Harpoon
- Se añadió el plugin Floaterm para soporte de terminal flotante, incluyendo el mapeo <leader>ft para alternar el terminal.
- Se eliminó el plugin Harpoon y sus mapeos relacionados para navegación de archivos y terminales.
- Se refactorizaron los mapeos de teclas para mayor consistencia y legibilidad.
- Motivación: simplificar el flujo de trabajo con terminales y reducir la cantidad de plugins reemplazando Harpoon por Floaterm.
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/foatterm.lua | 6 | ||||
| -rw-r--r-- | lua/plugins/harpoon.lua | 72 |
2 files changed, 6 insertions, 72 deletions
diff --git a/lua/plugins/foatterm.lua b/lua/plugins/foatterm.lua new file mode 100644 index 0000000..708241a --- /dev/null +++ b/lua/plugins/foatterm.lua @@ -0,0 +1,6 @@ +return { + "nvzone/floaterm", + dependencies = "nvzone/volt", + opts = {}, + cmd = "FloatermToggle", +} diff --git a/lua/plugins/harpoon.lua b/lua/plugins/harpoon.lua deleted file mode 100644 index a214924..0000000 --- a/lua/plugins/harpoon.lua +++ /dev/null @@ -1,72 +0,0 @@ -local keys = {} -local terms = 3 -local binds = 5 - -table.insert(keys, { - "<leader>ss", - function() - require("harpoon.ui").toggle_quick_menu() - end, - desc = "Harpoon Menu", -}) - -table.insert(keys, { - "<leader>sa", - function() - require("harpoon.mark").add_file() - end, - desc = "Harpoon Add file", -}) - -table.insert(keys, { - "<leader>st", - function() - vim.api.nvim_command [[vsplit]] - require("harpoon.term").gotoTerminal(1) - vim.api.nvim_command [[startinsert]] - end, - desc = "Harpoon quick split Terminal", -}) - -for i = 1, terms do - table.insert(keys, { - string.format("<leader><leader>%s", i), - function() - require("harpoon.term").gotoTerminal(i) - end, - desc = "Harpoon go to terminal " .. i, - }) -end - -for i = 1, binds do - table.insert(keys, { - string.format("<leader>%s", i), - function() - require("harpoon.ui").nav_file(i) - end, - desc = "Harpoon go to file " .. i, - }) -end - -return { - "ThePrimeagen/harpoon", - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-lua/popup.nvim", - }, - keys = keys, - opts = { - global_settings = { - enter_on_sendcmd = true, - }, - projects = { - ["$HOME/code/svelte/snippets"] = { - term = { - cmds = { - "npm run dev", - }, - }, - }, - }, - }, -} |