如果我打开一个带有2个分割的Vim窗口(3个总缓冲区可见)并且我调整了每个分割的视口,那么我关闭一个缓冲区,另外两个缓冲区的视口会自动调整大小。
关闭缓冲区时,有没有办法维持或至少更好地缩放分割?
1) Vim window with three splits, custom size:
+---+-------+---+
| | | |
| 1 | 2 | 3 |
| | | |
+---+-------+---+
2) Close buffer 3, splits are resized to "best fit":
+-------+-------+
| | |
| 1 | 2 |
| | |
+-------+-------+
3) I want it to stay like this, resize only adjacent buffer:
+---+-----------+
| | |
| 1 | 2 |
| | |
+---+-----------+