Shortcut to Resize the Window
@ankit02327 がすでに取り組んでいます。
2025年8月28日 から。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- Lua
- スター
- 4
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ankit02327/nvim-cpp-setup のほかの issue
-
F5 should work across all panels (code, input, and output)再び着手できるかも @ankit02327 が 374 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug enhancement
ankit02327/nvim-cpp-setup#6 · 担当者 1 名 ·
-
Create a Master Plugin再び着手できるかも @ankit02327 が 392 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
ankit02327/nvim-cpp-setup#5 · 担当者 1 名 ·
-
Revise and Modernise README.md再び着手できるかも @ankit02327 が 392 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation enhancement good first issue
ankit02327/nvim-cpp-setup#4 · 担当者 1 名 ·
-
Shortcut to Toggle the Window再び着手できるかも @ankit02327 が 392 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug enhancement
ankit02327/nvim-cpp-setup#3 · 担当者 1 名 ·
-
Rename the plugin再び着手できるかも @ankit02327 が 392 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug documentation enhancement good first issue
ankit02327/nvim-cpp-setup#2 · 担当者 1 名 ·
ankit02327/nvim-cpp-setup の issue をすべて見る
似ている issue
-
Zenmap bugオープンZenmap
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
[BUG] [25.12.5]オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
pterodactyl/game-eggs#637 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
koreader/koreader#16115 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信