Shortcut to Resize the Window
@ankit02327 đang làm issue này rồi.
Từ ngày 28/8/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Lua
- Star
- 4
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ankit02327/nvim-cpp-setup
-
F5 should work across all panels (code, input, and output)Có thể làm lại được @ankit02327 đã nhận 374 ngày trước và không có pull request nào đang mở. Đang mởbug enhancement
ankit02327/nvim-cpp-setup#6 · 1 người được giao ·
-
Create a Master PluginCó thể làm lại được @ankit02327 đã nhận 392 ngày trước và không có pull request nào đang mở. Đang mởenhancement
ankit02327/nvim-cpp-setup#5 · 1 người được giao ·
-
Revise and Modernise README.mdCó thể làm lại được @ankit02327 đã nhận 392 ngày trước và không có pull request nào đang mở. Đang mởdocumentation enhancement good first issue
ankit02327/nvim-cpp-setup#4 · 1 người được giao ·
-
Shortcut to Toggle the WindowCó thể làm lại được @ankit02327 đã nhận 392 ngày trước và không có pull request nào đang mở. Đang mởbug enhancement
ankit02327/nvim-cpp-setup#3 · 1 người được giao ·
-
Rename the pluginCó thể làm lại được @ankit02327 đã nhận 392 ngày trước và không có pull request nào đang mở. Đang mởbug documentation enhancement good first issue
ankit02327/nvim-cpp-setup#2 · 1 người được giao ·
Tất cả issue của ankit02327/nvim-cpp-setup
Issue tương tự
-
Zenmap bugĐang mởZenmap
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
[BUG] [25.12.5]Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
[Team Fortress 2 Classic] IssueĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pterodactyl/game-eggs#637 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
koreader/koreader#16115 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày