Skip to content

Commit 737bdc0

Browse files
committed
windows.txt: Update Vim 9.0.0752
1 parent fb88d19 commit 737bdc0

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

en/windows.txt

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ CTRL-W v *CTRL-W_v*
183183
3. 'eadirection' isn't "ver", and
184184
4. one of the other windows is wider than the current or new
185185
window.
186+
If N was given make the new window N columns wide, if
187+
possible.
186188
Note: In other places CTRL-Q does the same as CTRL-V, but here
187189
it doesn't!
188190

@@ -254,9 +256,16 @@ and 'winminwidth' are relevant.
254256
*:vert* *:vertical*
255257
:vert[ical] {cmd}
256258
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.
258261
Doesn't work for |:execute| and |:normal|.
259262

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+
260269
:lefta[bove] {cmd} *:lefta* *:leftabove*
261270
:abo[veleft] {cmd} *:abo* *:aboveleft*
262271
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
551560
'winheight' and 'winwidth' for the current window.
552561
Windows with 'winfixheight' set keep their height and windows
553562
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 =`
554567

555568
:res[ize] -N *:res* *:resize* *CTRL-W_-*
556569
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.
841854
If the name is a hypertext link that looks like
842855
"type://machine/path", only "/path" is used.
843856
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}
846857

847858
CTRL-W F *CTRL-W_F*
848859
Split current window in two. Edit file name under cursor and
849860
jump to the line number following the file name. See |gF| for
850861
details on how the line number is obtained.
851-
{not available when the |+file_in_path| feature was disabled
852-
at compile time}
853862

854863
CTRL-W gf *CTRL-W_gf*
855864
Open a new tab page and edit the file name under the cursor.
856865
Like "tab split" and "gf", but the new tab page isn't created
857866
if the file does not exist.
858-
{not available when the |+file_in_path| feature was disabled
859-
at compile time}
860867

861868
CTRL-W gF *CTRL-W_gF*
862869
Open a new tab page and edit the file name under the cursor
863870
and jump to the line number following the file name. Like
864871
"tab split" and "gF", but the new tab page isn't created if
865872
the file does not exist.
866-
{not available when the |+file_in_path| feature was disabled
867-
at compile time}
868873

869874
CTRL-W gt *CTRL-W_gt*
870875
Go to next tab page, same as `gt`.

0 commit comments

Comments
 (0)