@@ -183,6 +183,8 @@ CTRL-W v *CTRL-W_v*
183
183
3. 'eadirection' isn't "ver", and
184
184
4. one of the other windows is wider than the current or new
185
185
window.
186
+ If N was given make the new window N columns wide, if
187
+ possible.
186
188
Note: In other places CTRL-Q does the same as CTRL-V , but here
187
189
it doesn't!
188
190
@@ -254,9 +256,16 @@ and 'winminwidth' are relevant.
254
256
*:vert* *:vertical*
255
257
:vert[ical] {cmd}
256
258
Execute {cmd} . If it contains a command that splits a window,
257
- it will be split vertically.
259
+ it will be split vertically. For `vertical wincmd =` windows
260
+ will be equalized only vertically.
258
261
Doesn't work for | :execute | and | :normal | .
259
262
263
+ *:hor* *:horizontal*
264
+ :hor[izontal] {cmd}
265
+ Execute {cmd} . Currently only makes a difference for
266
+ `horizontal wincmd =`, which will equalize windows only
267
+ horizontally.
268
+
260
269
:lefta[bove] {cmd} *:lefta* *:leftabove*
261
270
:abo[veleft] {cmd} *:abo* *:aboveleft*
262
271
Execute {cmd} . If it contains a command that splits a window,
@@ -551,6 +560,10 @@ CTRL-W = Make all windows (almost) equally high and wide, but use
551
560
'winheight' and 'winwidth' for the current window.
552
561
Windows with 'winfixheight' set keep their height and windows
553
562
with 'winfixwidth' set keep their width.
563
+ To equalize only vertically (make window equally high) use
564
+ `vertical wincmd =`
565
+ To equalize only horizontally (make window equally wide) use
566
+ `horizontal wincmd =`
554
567
555
568
:res[ize] -N *:res* *:resize* *CTRL-W_-*
556
569
CTRL-W - Decrease current window height by N (default 1).
@@ -841,30 +854,22 @@ CTRL-W CTRL-F Split current window in two. Edit file name under cursor.
841
854
If the name is a hypertext link that looks like
842
855
"type://machine/path", only "/path" is used.
843
856
If a count is given, the count'th matching file is edited.
844
- {not available when the | +file_in_path | feature was disabled
845
- at compile time}
846
857
847
858
CTRL-W F *CTRL-W_F*
848
859
Split current window in two. Edit file name under cursor and
849
860
jump to the line number following the file name. See | gF | for
850
861
details on how the line number is obtained.
851
- {not available when the | +file_in_path | feature was disabled
852
- at compile time}
853
862
854
863
CTRL-W gf *CTRL-W_gf*
855
864
Open a new tab page and edit the file name under the cursor.
856
865
Like "tab split" and "gf", but the new tab page isn't created
857
866
if the file does not exist.
858
- {not available when the | +file_in_path | feature was disabled
859
- at compile time}
860
867
861
868
CTRL-W gF *CTRL-W_gF*
862
869
Open a new tab page and edit the file name under the cursor
863
870
and jump to the line number following the file name. Like
864
871
"tab split" and "gF", but the new tab page isn't created if
865
872
the file does not exist.
866
- {not available when the | +file_in_path | feature was disabled
867
- at compile time}
868
873
869
874
CTRL-W gt *CTRL-W_gt*
870
875
Go to next tab page, same as `gt` .
0 commit comments