Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Shortcut to Resize the Window

Aperta
#1 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@ankit02327 ci sta già lavorando.

Dal 28/8/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug enhancement

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.
Lingua principale
Lua
Stelle
4
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ankit02327/nvim-cpp-setup

Tutte le issue di ankit02327/nvim-cpp-setup

Issue simili

Altre issue su Lua

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.