Mercurial > vim
comparison runtime/doc/windows.txt @ 17571:2704c4e3e20a
Update runtime files.
commit https://github.com/vim/vim/commit/5477506a9f01d40fad2e8f0555bc37adee30478f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 31 21:07:14 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Jul 2019 21:15:08 +0200 |
parents | ca8e754bdd53 |
children | 5278e5a2a4e3 |
comparison
equal
deleted
inserted
replaced
17570:74bf9a7da416 | 17571:2704c4e3e20a |
---|---|
1 *windows.txt* For Vim version 8.1. Last change: 2019 Jul 18 | 1 *windows.txt* For Vim version 8.1. Last change: 2019 Jul 27 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
26 11. Using hidden buffers |buffer-hidden| | 26 11. Using hidden buffers |buffer-hidden| |
27 12. Special kinds of buffers |special-buffers| | 27 12. Special kinds of buffers |special-buffers| |
28 | 28 |
29 {not able to use multiple windows when the |+windows| feature was disabled at | 29 {not able to use multiple windows when the |+windows| feature was disabled at |
30 compile time} | 30 compile time} |
31 {not able to use vertically split windows when the |+vertsplit| feature was | |
32 disabled at compile time} | |
33 | 31 |
34 ============================================================================== | 32 ============================================================================== |
35 1. Introduction *windows-intro* *window* | 33 1. Introduction *windows-intro* *window* |
36 | 34 |
37 Summary: | 35 Summary: |
160 window will use the already loaded buffer. | 158 window will use the already loaded buffer. |
161 | 159 |
162 Note: CTRL-S does not work on all terminals and might block | 160 Note: CTRL-S does not work on all terminals and might block |
163 further input, use CTRL-Q to get going again. | 161 further input, use CTRL-Q to get going again. |
164 Also see |++opt| and |+cmd|. | 162 Also see |++opt| and |+cmd|. |
163 *E242* | |
164 Be careful when splitting a window in an autocommand, it may | |
165 mess up the window layout if this happens while making other | |
166 window layout changes. | |
165 | 167 |
166 CTRL-W CTRL-V *CTRL-W_CTRL-V* | 168 CTRL-W CTRL-V *CTRL-W_CTRL-V* |
167 CTRL-W v *CTRL-W_v* | 169 CTRL-W v *CTRL-W_v* |
168 :[N]vs[plit] [++opt] [+cmd] [file] *:vs* *:vsplit* | 170 :[N]vs[plit] [++opt] [+cmd] [file] *:vs* *:vsplit* |
169 Like |:split|, but split vertically. The windows will be | 171 Like |:split|, but split vertically. The windows will be |
505 CTRL-W H Move the current window to be at the far left, using the | 507 CTRL-W H Move the current window to be at the far left, using the |
506 full height of the screen. This works like closing the | 508 full height of the screen. This works like closing the |
507 current window and then creating another one with | 509 current window and then creating another one with |
508 ":vert topleft split", except that the current window contents | 510 ":vert topleft split", except that the current window contents |
509 is used for the new window. | 511 is used for the new window. |
510 {not available when compiled without the |+vertsplit| feature} | |
511 | 512 |
512 *CTRL-W_L* | 513 *CTRL-W_L* |
513 CTRL-W L Move the current window to be at the far right, using the full | 514 CTRL-W L Move the current window to be at the far right, using the full |
514 height of the screen. This works like closing the | 515 height of the screen. This works like closing the |
515 current window and then creating another one with | 516 current window and then creating another one with |
516 ":vert botright split", except that the current window | 517 ":vert botright split", except that the current window |
517 contents is used for the new window. | 518 contents is used for the new window. |
518 {not available when compiled without the |+vertsplit| feature} | |
519 | 519 |
520 *CTRL-W_T* | 520 *CTRL-W_T* |
521 CTRL-W T Move the current window to a new tab page. This fails if | 521 CTRL-W T Move the current window to a new tab page. This fails if |
522 there is only one window in the current tab page. | 522 there is only one window in the current tab page. |
523 When a count is specified the new tab page will be opened | 523 When a count is specified the new tab page will be opened |
665 [N] is the maximum number of windows to open. 'winheight' | 665 [N] is the maximum number of windows to open. 'winheight' |
666 also limits the number of windows opened ('winwidth' if | 666 also limits the number of windows opened ('winwidth' if |
667 |:vertical| was prepended). | 667 |:vertical| was prepended). |
668 Buf/Win Enter/Leave autocommands are not executed for the new | 668 Buf/Win Enter/Leave autocommands are not executed for the new |
669 windows here, that's only done when they are really entered. | 669 windows here, that's only done when they are really entered. |
670 If autocommands change the window layout while this command is | |
671 busy an error will be given. *E249* | |
670 | 672 |
671 :[N]sa[rgument][!] [++opt] [+cmd] [N] *:sa* *:sargument* | 673 :[N]sa[rgument][!] [++opt] [+cmd] [N] *:sa* *:sargument* |
672 Short for ":split | argument [N]": split window and go to Nth | 674 Short for ":split | argument [N]": split window and go to Nth |
673 argument. But when there is no such argument, the window is | 675 argument. But when there is no such argument, the window is |
674 not split. Also see |++opt| and |+cmd|. | 676 not split. Also see |++opt| and |+cmd|. |