|
1 | | -*windows.txt* For Vim version 9.1. Last change: 2025 Nov 09 |
| 1 | +*windows.txt* For Vim version 9.1. Last change: 2025 Nov 10 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -205,9 +205,9 @@ CTRL-W CTRL-N *CTRL-W_CTRL-N* |
205 | 205 | :[N]new [++opt] [+cmd] *:new* |
206 | 206 | Create a new window and start editing an empty file in it. |
207 | 207 | Make new window N high (default is to use half the existing |
208 | | - height). Reduces the current window height to create room (and |
209 | | - others, if the 'equalalways' option is set and 'eadirection' |
210 | | - isn't "hor"). |
| 208 | + height). Reduces the current window height to create room |
| 209 | + (and others, if the 'equalalways' option is set and |
| 210 | + 'eadirection' isn't "hor"). |
211 | 211 | Also see |++opt| and |+cmd|. |
212 | 212 | If 'fileformats' is not empty, the first format given will be |
213 | 213 | used for the new buffer. If 'fileformats' is empty, the |
@@ -511,8 +511,8 @@ CTRL-W R Rotate windows upwards/leftwards. The second window becomes |
511 | 511 | current window is in. |
512 | 512 |
|
513 | 513 | CTRL-W x *CTRL-W_x* *CTRL-W_CTRL-X* |
514 | | -CTRL-W CTRL-X Without count: Exchange current window with next one. If there |
515 | | - is no next window, exchange with previous window. |
| 514 | +CTRL-W CTRL-X Without count: Exchange current window with next one. If |
| 515 | + there is no next window, exchange with previous window. |
516 | 516 | With count: Exchange current window with Nth window (first |
517 | 517 | window is 1). The cursor is put in the other window. |
518 | 518 | When vertical and horizontal window splits are mixed, the |
@@ -659,11 +659,11 @@ times than |WinResized|, it may slow down editing a bit. |
659 | 659 |
|
660 | 660 | The information provided by |WinScrolled| is a dictionary for each window that |
661 | 661 | has changes, using the window ID as the key, and a total count of the changes |
662 | | -with the key "all". Example value for |v:event| (|Vim9| syntax): |
| 662 | +with the key "all". Example value for |v:event| (|Vim9| syntax): > |
663 | 663 | { |
664 | | - all: {width: 0, height: 2, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, |
| 664 | + all: {width: 0, height: 2, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, |
665 | 665 | 1003: {width: 0, height: -1, leftcol: 0, skipcol: 0, topline: 0, topfill: 0}, |
666 | | - 1006: {width: 0, height: 1, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, |
| 666 | + 1006: {width: 0, height: 1, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, |
667 | 667 | } |
668 | 668 |
|
669 | 669 | Note that the "all" entry has the absolute values of the individual windows |
@@ -996,13 +996,13 @@ CTRL-W CTRL-Z *CTRL-W_CTRL-Z* *:pc* *:pclose* |
996 | 996 |
|
997 | 997 | CTRL-W } *CTRL-W_}* |
998 | 998 | Use identifier under cursor as a tag and perform a :ptag on |
999 | | - it. Make the new Preview window (if required) N high. If N is |
1000 | | - not given, 'previewheight' is used. |
| 999 | + it. Make the new Preview window (if required) N high. If N |
| 1000 | + is not given, 'previewheight' is used. |
1001 | 1001 |
|
1002 | 1002 | CTRL-W g } *CTRL-W_g}* |
1003 | 1003 | Use identifier under cursor as a tag and perform a :ptjump on |
1004 | | - it. Make the new Preview window (if required) N high. If N is |
1005 | | - not given, 'previewheight' is used. |
| 1004 | + it. Make the new Preview window (if required) N high. If N |
| 1005 | + is not given, 'previewheight' is used. |
1006 | 1006 |
|
1007 | 1007 | *:pb* *:pbuffer* |
1008 | 1008 | :[N]pb[uffer][!] [+cmd] [N] |
@@ -1325,8 +1325,8 @@ list of buffers. |unlisted-buffer| |
1325 | 1325 | buffer (if there is one). Similarly, if you are in a normal |
1326 | 1326 | (non-help) buffer, this takes you to the next normal buffer. |
1327 | 1327 | This is so that if you have invoked help, it doesn't get in |
1328 | | - the way when you're browsing code/text buffers. The next three |
1329 | | - commands also work like this. |
| 1328 | + the way when you're browsing code/text buffers. The next |
| 1329 | + three commands also work like this. |
1330 | 1330 |
|
1331 | 1331 | *:sbn* *:sbnext* |
1332 | 1332 | :[N]sbn[ext] [+cmd] [N] |
|
0 commit comments