
63

GitHub - drzel/vim-in-proportion: Resize vim's containing window and you...
source link: https://github.com/drzel/vim-in-proportion
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

vim-in-proportion
Resize vim's containing window and your splits resize proportionally.
This works well when I resize the window in gnome shell with win ← et al.
+----------+-------------------------+ +----+-------------+-----------------+
| | | | | |/////////////////|
| | | | | |/////////////////|
| | | | | |/////////////////|
| | | | | |/////////////////|
| | V I M | | | VIM |/////////////////|
| | | => | | |/////////////////|
| | | | | |/////////////////|
| | | | | |/////////////////|
+----------+-------------------------+ +----+-------------+/////////////////|
| | | |/////////////////|
+------------------------------------+ +------------------+-----------------+
Doesn't work so well when resizing with a mouse (at least for me in Alacritty on Ubuntu 17.10).
Pull requests happily accepted.
</div
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK