Shortcut to Resize the Window
@ankit02327 ya está trabajando en esto.
Desde el 28/8/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
There should be a keybinding such that when those keys are pressed, the three windows resize themselves into the ratio they have by default;
This fixes the problem if a user manually resizes the windows and then wants the default back;
Also if some pop up opens in nvim ; it distrubs the size of the windows permanently so a temporary solution is for the user to use the keybinding to manually reset the size; though this should happen automatically (A particular example, let's say if a user in nvim has directory pane and he/she toogles it and it has been confirmted that the input output pane gets diestoredted permanently until user manually resizes it)I’ve noticed that when working with multiple windows in Neovim, the layout often gets distorted:
- If I manually resize any window, it breaks the original proportions.
- When toggling the file explorer or when a popup/floating window opens, the I/O pane especially tends to lose its intended ratio and doesn’t return to normal after closing.
Right now, the only fix is to manually resize everything, which is tedious.
What I need
A simple keybinding that will reset all windows back to the default ratios defined by the plugin. This would give me a quick way to restore the layout whenever something breaks.
Future improvement
Ideally, the reset should happen automatically after closing temporary windows (like directory pane or popups). But until then, a manual keybinding will be a good fallback.
Example workflow
- I have three panes: code, I/O, and directory in their intended ratio.
- I toggle the directory pane → the I/O pane gets distorted.
- Press the reset keybinding → everything snaps back to the default proportions.
- Lenguaje dominante
- Lua
- Estrellas
- 4
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ankit02327/nvim-cpp-setup
-
F5 should work across all panels (code, input, and output)Quizá libre de nuevo @ankit02327 la tomó hace 374 días y no hay ningún pull request abierto. Abiertobug enhancement
ankit02327/nvim-cpp-setup#6 · 1 asignado ·
-
Create a Master PluginQuizá libre de nuevo @ankit02327 la tomó hace 392 días y no hay ningún pull request abierto. Abiertoenhancement
ankit02327/nvim-cpp-setup#5 · 1 asignado ·
-
Revise and Modernise README.mdQuizá libre de nuevo @ankit02327 la tomó hace 392 días y no hay ningún pull request abierto. Abiertodocumentation enhancement good first issue
ankit02327/nvim-cpp-setup#4 · 1 asignado ·
-
Shortcut to Toggle the WindowQuizá libre de nuevo @ankit02327 la tomó hace 392 días y no hay ningún pull request abierto. Abiertobug enhancement
ankit02327/nvim-cpp-setup#3 · 1 asignado ·
-
Rename the pluginQuizá libre de nuevo @ankit02327 la tomó hace 392 días y no hay ningún pull request abierto. Abiertobug documentation enhancement good first issue
ankit02327/nvim-cpp-setup#2 · 1 asignado ·
Todos los issues de ankit02327/nvim-cpp-setup
Issues similares
-
Zenmap bugAbiertoZenmap
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
[BUG] [25.12.5]Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
[Team Fortress 2 Classic] IssueAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
pterodactyl/game-eggs#637 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
koreader/koreader#16115 · 3 comentarios ·
Los mantenedores suelen responder en 1 día