Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.29 KB

README.md

File metadata and controls

24 lines (19 loc) · 1.29 KB

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.