comparison runtime/doc/windows.txt @ 819:23f82b5d2814 v7.0c10

updated for version 7.0c10
author vimboss
date Wed, 05 Apr 2006 20:41:53 +0000
parents 9f345c48220b
children 57c7403f6599
comparison
equal deleted inserted replaced
818:1f929f3ca806 819:23f82b5d2814
1 *windows.txt* For Vim version 7.0c. Last change: 2006 Mar 11 1 *windows.txt* For Vim version 7.0c. Last change: 2006 Apr 01
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
31 compile time} 31 compile time}
32 {not able to use vertically split windows when the |+vertsplit| feature was 32 {not able to use vertically split windows when the |+vertsplit| feature was
33 disabled at compile time} 33 disabled at compile time}
34 34
35 ============================================================================== 35 ==============================================================================
36 1. Introduction *windows-intro* 36 1. Introduction *windows-intro* *window*
37 37
38 A window is a viewport onto a buffer. You can use multiple windows on one 38 A window is a viewport onto a buffer. You can use multiple windows on one
39 buffer, or several windows on different buffers. 39 buffer, or several windows on different buffers.
40 40
41 A buffer is a file loaded into memory for editing. The original file remains 41 A buffer is a file loaded into memory for editing. The original file remains
616 current window. If the current buffer can't be |abandon|ed, 616 current window. If the current buffer can't be |abandon|ed,
617 the window is split first. 617 the window is split first.
618 The |argument-list| is set, like with the |:next| command. 618 The |argument-list| is set, like with the |:next| command.
619 The purpose of this command is that it can be used from a 619 The purpose of this command is that it can be used from a
620 program that wants Vim to edit another file, e.g., a debugger. 620 program that wants Vim to edit another file, e.g., a debugger.
621 When using the |:tab| modifier each argument is opened in a
622 tab page. The last window is used if it's empty.
621 {only available when compiled with the +gui feature} 623 {only available when compiled with the +gui feature}
622 624
623 ============================================================================== 625 ==============================================================================
624 8. Do a command in all buffers or windows *list-repeat* 626 8. Do a command in all buffers or windows *list-repeat*
625 627
626 *:windo* 628 *:windo*
627 :windo[!] {cmd} Execute {cmd} in each window. 629 :windo {cmd} Execute {cmd} in each window.
628 It works like doing this: > 630 It works like doing this: >
629 CTRL-W t 631 CTRL-W t
630 :{cmd} 632 :{cmd}
631 CTRL-W w 633 CTRL-W w
632 :{cmd} 634 :{cmd}