annotate runtime/doc/index.txt @ 301:006e9c8a6a8a v7.0079

updated for version 7.0079
author vimboss
date Sat, 04 Jun 2005 22:06:24 +0000
parents 453b78cb4881
children 2a66ac008759
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
280
453b78cb4881 updated for version 7.0075
vimboss
parents: 236
diff changeset
1 *index.txt* For Vim version 7.0aa. Last change: 2005 May 22
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 VIM REFERENCE MANUAL by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 *index*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 This file contains a list of all commands for each mode, with a tag and a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 short description. The lists are sorted on ASCII value.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 Tip: When looking for certain functionality, use a search command. E.g.,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 to look for deleting something, use: "/delete".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 1. Insert mode |insert-index|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 2. Normal mode |normal-index|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 2.1. Text objects |objects|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 2.2. Window commands |CTRL-W|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 2.3. Square bracket commands |[|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 2.4. Commands starting with 'g' |g|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 2.5. Commands starting with 'z' |z|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 3. Visual mode |visual-index|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 4. Command-line editing |ex-edit-index|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 5. EX commands |ex-cmd-index|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 For an overview of options see help.txt |option-list|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 For an overview of built-in functions see |functions|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 For a list of Vim variables see |vim-variable|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 For a complete listing of all help items see |help-tags|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 1. Insert mode *insert-index*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 tag char action ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 -----------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 |i_CTRL-@| CTRL-@ insert previously inserted text and stop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 |i_CTRL-A| CTRL-A insert previously inserted text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 CTRL-B not used |i_CTRL-B-gone|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 |i_CTRL-C| CTRL-C quit insert mode, without checking for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 abbreviation, unless 'insertmode' set.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 |i_CTRL-D| CTRL-D delete one shiftwidth of indent in the current
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 |i_CTRL-E| CTRL-E insert the character which is below the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 CTRL-F not used (but by default it's in 'cinkeys' to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 re-indent the current line)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 |i_CTRL-G_j| CTRL-G CTRL-J line down, to column where inserting started
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 |i_CTRL-G_j| CTRL-G j line down, to column where inserting started
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 |i_CTRL-G_j| CTRL-G <Down> line down, to column where inserting started
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 |i_CTRL-G_k| CTRL-G CTRL-K line up, to column where inserting started
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 |i_CTRL-G_k| CTRL-G k line up, to column where inserting started
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 |i_CTRL-G_k| CTRL-G <Up> line up, to column where inserting started
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 |i_CTRL-G_u| CTRL-G u start new undoable edit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 |i_<BS>| <BS> delete character before the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 |i_digraph| {char1}<BS>{char2}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 enter digraph (only when 'digraph' option set)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 |i_CTRL-H| CTRL-H same as <BS>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 |i_<Tab>| <Tab> insert a <Tab> character
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 |i_CTRL-I| CTRL-I same as <Tab>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 |i_<NL>| <NL> same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 |i_CTRL-J| CTRL-J same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 |i_CTRL-K| CTRL-K {char1} {char2}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 enter digraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 |i_CTRL-L| CTRL-L when 'insertmode' set: Leave Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 |i_<CR>| <CR> begin new line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 |i_CTRL-M| CTRL-M same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 |i_CTRL-N| CTRL-N find next match for keyword in front of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 |i_CTRL-O| CTRL-O execute a single command and return to insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 |i_CTRL-P| CTRL-P find previous match for keyword in front of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 |i_CTRL-Q| CTRL-Q same as CTRL-V, unless used for terminal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 control flow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 |i_CTRL-R| CTRL-R {0-9a-z"%#*:=}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 insert the contents of a register
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 |i_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:=}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 insert the contents of a register literally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 |i_CTRL-R_CTRL-O| CTRL-R CTRL-O {0-9a-z"%#*:=}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 insert the contents of a register literally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 and don't auto-indent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 |i_CTRL-R_CTRL-P| CTRL-R CTRL-P {0-9a-z"%#*:=}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 insert the contents of a register literally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 and fix indent.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 CTRL-S (used for terminal control flow)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 |i_CTRL-T| CTRL-T insert one shiftwidth of indent in current
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 |i_CTRL-U| CTRL-U delete all entered characters in the current
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 |i_CTRL-V| CTRL-V {char} insert next non-digit literally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 |i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 byte.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 |i_CTRL-W| CTRL-W delete word before the cursor
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
92 |i_CTRL-X| CTRL-X {mode} enter CTRL-X sub mode, see |i_CTRL-X_index|
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 |i_CTRL-Y| CTRL-Y insert the character which is above the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 |i_CTRL-Z| CTRL-Z when 'insertmode' set: suspend Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 |i_<Esc>| <Esc> end insert mode (unless 'insertmode' set)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 |i_CTRL-[| CTRL-[ same as <Esc>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 |i_CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 |i_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 CTRL-\ a - z reserved for extensions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 CTRL-\ others not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 |i_CTRL-]| CTRL-] trigger abbreviation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 |i_CTRL-^| CTRL-^ toggle use of |:lmap| mappings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 |i_CTRL-_| CTRL-_ When 'allowrevins' set: change language
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 (Hebrew, Farsi) {only when compiled with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 +rightleft feature}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 <Space> to '~' not used, except '0' and '^' followed by
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 CTRL-D
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 |i_0_CTRL-D| 0 CTRL-D delete all indent in the current line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 |i_^_CTRL-D| ^ CTRL-D delete all indent in the current line, restore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 it in the next line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 |i_<Del>| <Del> delete character under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 Meta characters (0x80 to 0xff, 128 to 255)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 |i_<Left>| <Left> cursor one character left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 |i_<S-Left>| <S-Left> cursor one word left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 |i_<C-Left>| <C-Left> cursor one word left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 |i_<Right>| <Right> cursor one character right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 |i_<S-Right>| <S-Right> cursor one word right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 |i_<C-Right>| <C-Right> cursor one word right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 |i_<Up>| <Up> cursor one line up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 |i_<S-Up>| <S-Up> same as <PageUp>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 |i_<Down>| <Down> cursor one line down
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 |i_<S-Down>| <S-Down> same as <PageDown>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 |i_<Home>| <Home> cursor to start of line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 |i_<C-Home>| <C-Home> cursor to start of file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 |i_<End>| <End> cursor past end of line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 |i_<C-End>| <C-End> cursor past end of file
9
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
133 |i_<PageUp>| <PageUp> one screenful backward
4102fb4ea781 updated for version 7.0002
vimboss
parents: 7
diff changeset
134 |i_<PageDown>| <PageDown> one screenful forward
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 |i_<F1>| <F1> same as <Help>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 |i_<Help>| <Help> stop insert mode and display help window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 |i_<Insert>| <Insert> toggle Insert/Replace mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 |i_<LeftMouse>| <LeftMouse> cursor at mouse click
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 |i_<MouseDown>| <MouseDown> scroll three lines downwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 |i_<S-MouseDown>| <S-MouseDown> scroll a full page downwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 |i_<MouseUp>| <MouseUp> scroll three lines upwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 |i_<S-MouseUp>| <S-MouseUp> scroll a full page upwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
144 commands in CTRL-X submode *i_CTRL-X_index*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 |i_CTRL-X_CTRL-D| CTRL-X CTRL-D complete defined identifiers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 |i_CTRL-X_CTRL-E| CTRL-X CTRL-E scroll up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 |i_CTRL-X_CTRL-F| CTRL-X CTRL-F complete file names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 |i_CTRL-X_CTRL-I| CTRL-X CTRL-I complete identifiers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 |i_CTRL-X_CTRL-K| CTRL-X CTRL-K complete identifiers from dictionary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 |i_CTRL-X_CTRL-L| CTRL-X CTRL-L complete whole lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 |i_CTRL-X_CTRL-N| CTRL-X CTRL-N next completion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 |i_CTRL-X_CTRL-P| CTRL-X CTRL-P previous completion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 |i_CTRL-X_CTRL-T| CTRL-X CTRL-T complete identifiers from thesaurus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 |i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
156 |i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
157 |i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 |i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 {not available when compiled without the +insert_expand feature}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 2. Normal mode *normal-index*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 CHAR any non-blank character
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 WORD a sequence of non-blank characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 N a number entered before the command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 {motion} a cursor movement command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 Nmove the text that is moved over with a {motion}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 SECTION a section that possibly starts with '}' instead of '{'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 note: 1 = cursor movement command; 2 = can be undone/redone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 tag char note action in Normal mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 ------------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 CTRL-@ not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 |CTRL-A| CTRL-A 2 add N to number at/after cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 |CTRL-B| CTRL-B 1 scroll N screens Backwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 |CTRL-C| CTRL-C interrupt current (search) command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 |CTRL-D| CTRL-D scroll Down N lines (default: half a screen)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 |CTRL-E| CTRL-E scroll N lines upwards (N lines Extra)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 |CTRL-F| CTRL-F 1 scroll N screens Forward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 |CTRL-G| CTRL-G display current file name and position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 |<BS>| <BS> 1 same as "h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 |CTRL-H| CTRL-H 1 same as "h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 |<Tab>| <Tab> 1 go to N newer entry in jump list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 |CTRL-I| CTRL-I 1 same as <Tab>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 |<NL>| <NL> 1 same as "j"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 |CTRL-J| CTRL-J 1 same as "j"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 CTRL-K not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 |CTRL-L| CTRL-L redraw screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 |<CR>| <CR> 1 cursor to the first CHAR N lines lower
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 |CTRL-M| CTRL-M 1 same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 |CTRL-N| CTRL-N 1 same as "j"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 |CTRL-O| CTRL-O 1 go to N older entry in jump list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 |CTRL-P| CTRL-P 1 same as "k"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 CTRL-Q (used for terminal control flow)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 |CTRL-R| CTRL-R 2 redo changes which were undone with 'u'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 CTRL-S (used for terminal control flow)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 |CTRL-T| CTRL-T jump to N older Tag in tag list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 |CTRL-U| CTRL-U scroll N lines Upwards (default: half a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 screen)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 |CTRL-V| CTRL-V start blockwise Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 |CTRL-W| CTRL-W {char} window commands, see |CTRL-W|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 |CTRL-X| CTRL-X 2 subtract N from number at/after cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 |CTRL-Y| CTRL-Y scroll N lines downwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 |CTRL-Z| CTRL-Z suspend program (or start new shell)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 CTRL-[ <Esc> not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 |CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode (no-op)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 |CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 CTRL-\ a - z reserved for extensions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 CTRL-\ others not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 |CTRL-]| CTRL-] :ta to ident under cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 |CTRL-^| CTRL-^ edit Nth alternate file (equivalent to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 ":e #N")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 CTRL-_ not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 |<Space>| <Space> 1 same as "l"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 |!| !{motion}{filter}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 2 filter Nmove text through the {filter}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 |!!| !!{filter} 2 filter N lines through the {filter} command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 |quote| "{a-zA-Z0-9.%#:-"} use register {a-zA-Z0-9.%#:-"} for next
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 delete, yank or put (uppercase to append)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 ({.%#:} only work with put)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 |#| # 1 search backward for the Nth occurrence of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 the ident under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 |$| $ 1 cursor to the end of Nth next line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 |%| % 1 find the next (curly/square) bracket on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 this line and go to its match, or go to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 matching comment bracket, or go to matching
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 preprocessor directive.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 |N%| {count}% 1 go to N percentage in the file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 |&| & 2 repeat last :s
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 |'| '{a-zA-Z0-9} 1 cursor to the first CHAR on the line with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 mark {a-zA-Z0-9}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 |''| '' 1 cursor to the first CHAR of the line where
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 the cursor was before the latest jump.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 |'(| '( 1 cursor to the first CHAR on the line of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 start of the current sentence
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 |')| ') 1 cursor to the first CHAR on the line of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 end of the current sentence
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 |'<| '< 1 cursor to the first CHAR of the line where
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 highlighted area starts/started in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 current buffer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 |'>| '> 1 cursor to the first CHAR of the line where
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 highlighted area ends/ended in the current
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 buffer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 |'[| '[ 1 cursor to the first CHAR on the line of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 start of last operated text or start of put
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 |']| '] 1 cursor to the first CHAR on the line of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 end of last operated text or end of put
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 |'{| '{ 1 cursor to the first CHAR on the line of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 start of the current paragraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 |'}| '} 1 cursor to the first CHAR on the line of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 end of the current paragraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 |(| ( 1 cursor N sentences backward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 |)| ) 1 cursor N sentences forward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 |star| * 1 search forward for the Nth occurrence of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 the ident under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 |+| + 1 same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 |,| , 1 repeat latest f, t, F or T in opposite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 direction N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 |-| - 1 cursor to the first CHAR N lines higher
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 |.| . 2 repeat last change with count replaced with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 |/| /{pattern}<CR> 1 search forward for the Nth occurrence of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 {pattern}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 |/<CR>| /<CR> 1 search forward for {pattern} of last search
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 |count| 0 1 cursor to the first char of the line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 |count| 1 prepend to command to give a count
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 |count| 2 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 |count| 3 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 |count| 4 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 |count| 5 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 |count| 6 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 |count| 7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 |count| 8 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 |count| 9 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 |:| : 1 start entering an Ex command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 |N:| {count}: start entering an Ex command with range
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 from current line to N-1 lines down
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 |;| ; 1 repeat latest f, t, F or T N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 |<| <{motion} 2 shift Nmove lines one 'shiftwidth'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 leftwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 |<<| << 2 shift N lines one 'shiftwidth' leftwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 |=| ={motion} 2 filter Nmove lines through "indent"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 |==| == 2 filter N lines through "indent"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 |>| >{motion} 2 shift Nmove lines one 'shiftwidth'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 rightwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 |>>| >> 2 shift N lines one 'shiftwidth' rightwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 |?| ?{pattern}<CR> 1 search backward for the Nth previous
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 occurrence of {pattern}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 |?<CR>| ?<CR> 1 search backward for {pattern} of last search
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 |@| @{a-z} 2 execute the contents of register {a-z}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 |@:| @: repeat the previous ":" command N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 |@@| @@ 2 repeat the previous @{a-z} N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 |A| A 2 append text after the end of the line N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 |B| B 1 cursor N WORDS backward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 |C| ["x]C 2 change from the cursor position to the end
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 of the line, and N-1 more lines [into
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 buffer x]; synonym for "c$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 |D| ["x]D 2 delete the characters under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 until the end of the line and N-1 more
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 lines [into buffer x]; synonym for "d$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 |E| E 1 cursor forward to the end of WORD N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 |F| F{char} 1 cursor to the Nth occurrence of {char} to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 the left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 |G| G 1 cursor to line N, default last line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 |H| H 1 cursor to line N from top of screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 |I| I 2 insert text before the first CHAR on the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 line N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 |J| J 2 Join N lines; default is 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 |K| K lookup Keyword under the cursor with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 'keywordprg'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 |L| L 1 cursor to line N from bottom of screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 |M| M 1 cursor to middle line of screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 |N| N 1 repeat the latest '/' or '?' N times in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 opposite direction
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 |O| O 2 begin a new line above the cursor and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 insert text, repeat N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 |P| ["x]P 2 put the text [from buffer x] before the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 cursor N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 |Q| Q switch to "Ex" mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 |R| R 2 enter replace mode: overtype existing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 characters, repeat the entered text N-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 |S| ["x]S 2 delete N lines [into buffer x] and start
36
125e80798a85 updated for version 7.0021
vimboss
parents: 24
diff changeset
331 insert; synonym for "cc".
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 |T| T{char} 1 cursor till after Nth occurrence of {char}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 to the left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 |U| U 2 undo all latest changes on one line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 |V| V start linewise Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 |W| W 1 cursor N WORDS forward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 |X| ["x]X 2 delete N characters before the cursor [into
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 buffer x]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 |Y| ["x]Y yank N lines [into buffer x]; synonym for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 "yy"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 |ZZ| ZZ store current file if modified, and exit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 |ZQ| ZQ exit current file always
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 |[| [{char} square bracket command (see below)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 \ not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 |]| ]{char} square bracket command (see below)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 |^| ^ 1 cursor to the first CHAR of the line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 |_| _ 1 cursor to the first CHAR N - 1 lines lower
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 |`| `{a-zA-Z0-9} 1 cursor to the mark {a-zA-Z0-9}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 |`(| `( 1 cursor to the start of the current sentence
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 |`)| `) 1 cursor to the end of the current sentence
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 |`<| `< 1 cursor to the start of the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 |`>| `> 1 cursor to the end of the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 |`[| `[ 1 cursor to the start of last operated text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 or start of putted text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 |`]| `] 1 cursor to the end of last operated text or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 end of putted text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 |``| `` 1 cursor to the position before latest jump
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 |`{| `{ 1 cursor to the start of the current paragraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 |`}| `} 1 cursor to the end of the current paragraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 |a| a 2 append text after the cursor N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 |b| b 1 cursor N words backward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 |c| ["x]c{motion} 2 delete Nmove text [into buffer x] and start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 |cc| ["x]cc 2 delete N lines [into buffer x] and start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 |d| ["x]d{motion} 2 delete Nmove text [into buffer x]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 |dd| ["x]dd 2 delete N lines [into buffer x]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 |do| do 2 same as ":diffget"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 |dp| dp 2 same as ":diffput"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 |e| e 1 cursor forward to the end of word N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 |f| f{char} 1 cursor to Nth occurrence of {char} to the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 |g| g{char} extended commands, see below
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 |h| h 1 cursor N chars to the left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 |i| i 2 insert text before the cursor N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 |j| j 1 cursor N lines downward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 |k| k 1 cursor N lines upward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 |l| l 1 cursor N chars to the right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 |m| m{A-Za-z} set mark {A-Za-z} at cursor position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 |n| n 1 repeat the latest '/' or '?' N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 |o| o 2 begin a new line below the cursor and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 insert text, repeat N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 |p| ["x]p 2 put the text [from register x] after the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 cursor N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 |q| q{0-9a-zA-Z"} record typed characters into named register
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 {0-9a-zA-Z"} (uppercase to append)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 |q| q (while recording) stops recording
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 |q:| q: edit : command-line in command-line window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 |q/| q/ edit / command-line in command-line window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 |q?| q? edit ? command-line in command-line window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 |r| r{char} 2 replace N chars with {char}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 |s| ["x]s 2 (substitute) delete N characters [into
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 buffer x] and start insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 |t| t{char} 1 cursor till before Nth occurrence of {char}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 to the right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 |u| u 2 undo changes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 |v| v start characterwise Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 |w| w 1 cursor N words forward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 |x| ["x]x 2 delete N characters under and after the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 cursor [into buffer x]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 |y| ["x]y{motion} yank Nmove text [into buffer x]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 |yy| ["x]yy yank N lines [into buffer x]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 |z| z{char} commands starting with 'z', see below
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 |{| { 1 cursor N paragraphs backward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 |bar| | 1 cursor to column N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 |}| } 1 cursor N paragraphs forward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 |~| ~ 2 'tildeop' off: switch case of N characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 under cursor and move the cursor N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 characters to the right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 |~| ~{motion} 'tildeop' on: switch case of Nmove text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 |<C-End>| <C-End> 1 same as "G"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 |<C-Home>| <C-Home> 1 same as "gg"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 |<C-Left>| <C-Left> 1 same as "b"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 |<C-LeftMouse>| <C-LeftMouse> ":ta" to the keyword at the mouse click
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 |<C-Right>| <C-Right> 1 same as "w"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 |<C-RightMouse>| <C-RightMouse> same as "CTRL-T"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 |<Del>| ["x]<Del> 2 same as "x"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 |N<Del>| {count}<Del> remove the last digit from {count}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 |<Down>| <Down> 1 same as "j"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 |<End>| <End> 1 same as "$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 |<F1>| <F1> same as <Help>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 |<Help>| <Help> open a help window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 |<Home>| <Home> 1 same as "0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 |<Insert>| <Insert> 2 same as "i"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 |<Left>| <Left> 1 same as "h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 |<LeftMouse>| <LeftMouse> 1 move cursor to the mouse click position
36
125e80798a85 updated for version 7.0021
vimboss
parents: 24
diff changeset
427 |<MiddleMouse>| <MiddleMouse> 2 same as "gP" at the mouse click position
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 |<PageDown>| <PageDown> same as CTRL-F
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 |<PageUp>| <PageUp> same as CTRL-B
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 |<Right>| <Right> 1 same as "l"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 |<RightMouse>| <RightMouse> start Visual mode, move cursor to the mouse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 click position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 |<S-Down>| <S-Down> 1 same as CTRL-F
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 |<S-Left>| <S-Left> 1 same as "b"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 |<S-LeftMouse>| <S-LeftMouse> same as "*" at the mouse click position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 |<S-Right>| <S-Right> 1 same as "w"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 |<S-RightMouse>| <S-RightMouse> same as "#" at the mouse click position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 |<S-Up>| <S-Up> 1 same as CTRL-B
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 |<Undo>| <Undo> 2 same as "u"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 |<Up>| <Up> 1 same as "k"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 |<MouseDown>| <MouseDown> scroll three lines downwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 |<S-MouseDown>| <S-MouseDown> scroll a full page downwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 |<MouseUp>| <MouseUp> scroll three lines upwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 |<S-MouseUp>| <S-MouseUp> scroll a full page upwards
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 2.1 Text objects *objects*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 These can be used after an operator or in Visual mode to select an object.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 tag command action in Normal mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 ------------------------------------------------------------------------------
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
453 |v_aquote| a" double quoted string
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
454 |v_a'| a' single quoted string
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 |v_a(| a( same as ab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 |v_a)| a) same as ab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 |v_a<| a< "a <>" from '<' to the matching '>'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 |v_a>| a> same as a<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 |v_aB| aB "a Block" from "[{" to "]}" (with brackets)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 |v_aW| aW "a WORD" (with white space)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 |v_a[| a[ "a []" from '[' to the matching ']'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 |v_a]| a] same as a[
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
463 |v_a`| a` string in backticks
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 |v_ab| ab "a block" from "[(" to "])" (with braces)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 |v_ap| ap "a paragraph" (with white space)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 |v_as| as "a sentence" (with white space)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 |v_aw| aw "a word" (with white space)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 |v_a{| a{ same as aB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 |v_a}| a} same as aB
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
470 |v_iquote| i" double quoted string without the quotes
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
471 |v_i'| i' single quoted string without the quotes
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 |v_i(| i( same as ib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 |v_i)| i) same as ib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 |v_i<| i< "inner <>" from '<' to the matching '>'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 |v_i>| i> same as i<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 |v_iB| iB "inner Block" from "[{" and "]}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 |v_iW| iW "inner WORD"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 |v_i[| i[ "inner []" from '[' to the matching ']'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 |v_i]| i] same as i[
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 9
diff changeset
480 |v_i`| i` string in backticks without the backticks
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 |v_ib| ib "inner block" from "[(" to "])"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 |v_ip| ip "inner paragraph"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 |v_is| is "inner sentence"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 |v_iw| iw "inner word"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 |v_i{| i{ same as iB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 |v_i}| i} same as iB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 2.2 Window commands *CTRL-W*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 tag command action in Normal mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 ------------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 |CTRL-W_CTRL-B| CTRL-W CTRL-B same as "CTRL-W b"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 |CTRL-W_CTRL-C| CTRL-W CTRL-C same as "CTRL-W c"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 |CTRL-W_CTRL-D| CTRL-W CTRL-D same as "CTRL-W d"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 |CTRL-W_CTRL-F| CTRL-W CTRL-F same as "CTRL-W f"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 CTRL-W CTRL-G same as "CTRL-W g .."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 |CTRL-W_CTRL-H| CTRL-W CTRL-H same as "CTRL-W h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 |CTRL-W_CTRL-I| CTRL-W CTRL-I same as "CTRL-W i"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 |CTRL-W_CTRL-J| CTRL-W CTRL-J same as "CTRL-W j"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 |CTRL-W_CTRL-K| CTRL-W CTRL-K same as "CTRL-W k"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 |CTRL-W_CTRL-L| CTRL-W CTRL-L same as "CTRL-W l"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 |CTRL-W_CTRL-N| CTRL-W CTRL-N same as "CTRL-W n"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 |CTRL-W_CTRL-O| CTRL-W CTRL-O same as "CTRL-W o"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 |CTRL-W_CTRL-P| CTRL-W CTRL-P same as "CTRL-W p"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 |CTRL-W_CTRL-Q| CTRL-W CTRL-Q same as "CTRL-W q"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 |CTRL-W_CTRL-R| CTRL-W CTRL-R same as "CTRL-W r"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 |CTRL-W_CTRL-S| CTRL-W CTRL-S same as "CTRL-W s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 |CTRL-W_CTRL-T| CTRL-W CTRL-T same as "CTRL-W t"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 |CTRL-W_CTRL-V| CTRL-W CTRL-V same as "CTRL-W v"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 |CTRL-W_CTRL-W| CTRL-W CTRL-W same as "CTRL-W w"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 |CTRL-W_CTRL-X| CTRL-W CTRL-X same as "CTRL-W x"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 |CTRL-W_CTRL-Z| CTRL-W CTRL-Z same as "CTRL-W z"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 |CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 |CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 |CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 |CTRL-W_+| CTRL-W + increase current window height N lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 |CTRL-W_-| CTRL-W - decrease current window height N lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 |CTRL-W_<| CTRL-W < decrease current window width N columns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 |CTRL-W_=| CTRL-W = make all windows the same height
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 |CTRL-W_>| CTRL-W > increase current window width N columns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 |CTRL-W_H| CTRL-W H move current window to the far left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 |CTRL-W_J| CTRL-W J move current window to the very bottom
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 |CTRL-W_K| CTRL-W K move current window to the very top
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 |CTRL-W_L| CTRL-W L move current window to the far right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 |CTRL-W_P| CTRL-W P go to preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 |CTRL-W_R| CTRL-W R rotate windows upwards N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 |CTRL-W_S| CTRL-W S same as "CTRL-W s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 |CTRL-W_W| CTRL-W W go to N previous window (wrap around)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 |CTRL-W_]| CTRL-W ] split window and jump to tag under cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 |CTRL-W_^| CTRL-W ^ split current window and edit alternate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 file N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 |CTRL-W__| CTRL-W _ set current window height to N (default:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 very high)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 |CTRL-W_b| CTRL-W b go to bottom window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 |CTRL-W_c| CTRL-W c close current window (like |:close|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 |CTRL-W_d| CTRL-W d split window and jump to definition under
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 |CTRL-W_f| CTRL-W f split window and edit file name under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 |CTRL-W_g_CTRL-]| CTRL-W g CTRL-] split window and do |:tjump| to tag under
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 |CTRL-W_g]| CTRL-W g ] split window and do |:tselect| for tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 under cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 |CTRL-W_g}| CTRL-W g } do a |:ptjump| to the tag under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 |CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 |CTRL-W_i| CTRL-W i split window and jump to declaration of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 identifier under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 |CTRL-W_j| CTRL-W j go N windows down (stop at last window)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 |CTRL-W_k| CTRL-W k go N windows up (stop at first window)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 |CTRL-W_l| CTRL-W l go to Nth right window (stop at last window)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 |CTRL-W_n| CTRL-W n open new window, N lines high
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 |CTRL-W_o| CTRL-W o close all but current window (like |:only|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 |CTRL-W_p| CTRL-W p go to previous (last accessed) window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 |CTRL-W_q| CTRL-W q quit current window (like |:quit|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 |CTRL-W_r| CTRL-W r rotate windows downwards N times
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 |CTRL-W_s| CTRL-W s split current window in two parts, new
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 window N lines high
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 |CTRL-W_t| CTRL-W t go to top window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 |CTRL-W_v| CTRL-W v split current window vertically, new window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 N lines wide
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 |CTRL-W_w| CTRL-W w go to N next window (wrap around)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 |CTRL-W_x| CTRL-W x exchange current window with window N
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 (default: next window)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 |CTRL-W_z| CTRL-W z close preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 |CTRL-W_bar| CTRL-W | set window width to N columns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 |CTRL-W_}| CTRL-W } show tag under cursor in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 |CTRL-W_<Down>| CTRL-W <Down> same as "CTRL-W j"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 |CTRL-W_<Up>| CTRL-W <Up> same as "CTRL-W k"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 |CTRL-W_<Left>| CTRL-W <Left> same as "CTRL-W h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 |CTRL-W_<Right>| CTRL-W <Right> same as "CTRL-W l"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 2.3 Square bracket commands *[* *]*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 tag char note action in Normal mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 ------------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 |[_CTRL-D| [ CTRL-D jump to first #define found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 included files matching the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 cursor, start searching at beginning of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 current file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 |[_CTRL-I| [ CTRL-I jump to first line in current and included
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 files that contains the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 cursor, start searching at beginning of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 current file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586 |[#| [# 1 cursor to N previous unmatched #if, #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 or #ifdef
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 |['| [' 1 cursor to previous lowercase mark, on first
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589 non-blank
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 |[(| [( 1 cursor N times back to unmatched '('
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 |[star| [* 1 same as "[/"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 |[`| [` 1 cursor to previous lowercase mark
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 |[/| [/ 1 cursor to N previous start of a C comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 |[D| [D list all defines found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 included files matching the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 cursor, start searching at beginning of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 current file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 |[I| [I list all lines found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 included files that contain the word under
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 the cursor, start searching at beginning of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 current file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 |[P| [P 2 same as "[p"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 |[[| [[ 1 cursor N sections backward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 |[]| [] 1 cursor N SECTIONS backward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 |[c| [c 1 cursor N times backwards to start of change
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 |[d| [d show first #define found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 included files matching the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 cursor, start searching at beginning of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 current file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 |[f| [f same as "gf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 |[i| [i show first line found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 included files that contains the word under
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 the cursor, start searching at beginning of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 current file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 |[p| [p 2 like "P", but adjust indent to current line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 |[m| [m 1 cursor N times back to start of member
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 |[z| [z 1 move to start of open fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 |[{| [{ 1 cursor N times back to unmatched '{'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 |[<MiddleMouse> [<MiddleMouse> 2 same as "[p"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 |]_CTRL-D| ] CTRL-D jump to first #define found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 included files matching the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 cursor, start searching at cursor position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 |]_CTRL-I| ] CTRL-I jump to first line in current and included
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 files that contains the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 cursor, start searching at cursor position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 |]#| ]# 1 cursor to N next unmatched #endif or #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 |]'| ]' 1 cursor to next lowercase mark, on first
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 non-blank
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 |])| ]) 1 cursor N times forward to unmatched ')'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 |]star| ]* 1 same as "]/"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 |]`| ]` 1 cursor to next lowercase mark
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634 |]/| ]/ 1 cursor to N next end of a C comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 |]D| ]D list all #defines found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 included files matching the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 cursor, start searching at cursor position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 |]I| ]I list all lines found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 included files that contain the word under
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 the cursor, start searching at cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 |]P| ]P 2 same as "[p"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 |][| ][ 1 cursor N SECTIONS forward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 |]]| ]] 1 cursor N sections forward
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 |]c| ]c 1 cursor N times forward to start of change
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 |]d| ]d show first #define found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 included files matching the word under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 cursor, start searching at cursor position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 |]f| ]f same as "gf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 |]i| ]i show first line found in current and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 included files that contains the word under
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 the cursor, start searching at cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 |]p| ]p 2 like "p", but adjust indent to current line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 |]m| ]m 1 cursor N times forward to end of member
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 |]z| ]z 1 move to end of open fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 |]}| ]} 1 cursor N times forward to unmatched '}'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 |]<MiddleMouse> ]<MiddleMouse> 2 same as "]p"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 2.4 Commands starting with 'g' *g*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 tag char note action in Normal mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 ------------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 |g_CTRL-A| g CTRL-A only when compiled with MEM_PROFILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 defined: dump a memory profile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 |g_CTRL-G| g CTRL-G show information about current cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 |g_CTRL-H| g CTRL-H start Select block mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 |g_CTRL-]| g CTRL-] |:tjump| to the tag under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 |g#| g# 1 like "#", but without using "\<" and "\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 |g$| g$ 1 when 'wrap' off go to rightmost character of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 the current line that is on the screen;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 when 'wrap' on go to the rightmost character
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 of the current screen line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 |g&| g& 2 repeat last ":s" on all lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 |g'| g'{mark} 1 like |'| but without changing the jumplist
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 |g`| g`{mark} 1 like |`| but without changing the jumplist
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 |gstar| g* 1 like "*", but without using "\<" and "\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 |g0| g0 1 when 'wrap' off go to leftmost character of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682 the current line that is on the screen;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 when 'wrap' on go to the leftmost character
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 of the current screen line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 |g8| g8 print hex value of bytes used in UTF-8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 character under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 |g?| g? 2 Rot13 encoding operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 |g?g?| g?? 2 Rot13 encode current line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 |g?g?| g?g? 2 Rot13 encode current line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 |gD| gD 1 go to definition of word under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 in current file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 |gE| gE 1 go backwards to the end of the previous
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 WORD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 |gH| gH start Select line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 |gI| gI 2 like "I", but always start in column 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 |gJ| gJ 2 join lines without inserting space
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 |gP| ["x]gP 2 put the text [from register x] before the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 cursor N times, leave the cursor after it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 |gR| gR 2 enter Virtual Replace mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 |gU| gU{motion} 2 make Nmove text uppercase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
701 |gV| gV don't reselect the previous Visual area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 when executing a mapping or menu in Select
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 |g]| g] :tselect on the tag under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 |g^| g^ 1 when 'wrap' off go to leftmost non-white
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 character of the current line that is on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 the screen; when 'wrap' on go to the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 leftmost non-white character of the current
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 screen line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
710 |ga| ga print ascii value of character under the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 |gd| gd 1 go to definition of word under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 in current function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714 |ge| ge 1 go backwards to the end of the previous
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 word
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716 |gf| gf start editing the file whose name is under
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 |gg| gg 1 cursor to line N, default first line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719 |gh| gh start Select mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 |gi| gi 2 like "i", but first move to the |'^| mark
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721 |gj| gj 1 like "j", but when 'wrap' on go N screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722 lines down
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723 |gk| gk 1 like "k", but when 'wrap' on go N screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 lines up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 |gm| gm 1 go to character at middle of the screenline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726 |go| go 1 cursor to byte N in the buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 |gp| ["x]gp 2 put the text [from register x] after the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 cursor N times, leave the cursor after it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 |gq| gq{motion} 2 format Nmove text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 |gr| gr{char} 2 virtual replace N chars with {char}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 |gs| gs go to sleep for N seconds (default 1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 |gu| gu{motion} 2 make Nmove text lowercase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733 |gv| gv reselect the previous Visual area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 |gw| gw{motion} 2 format Nmove text and keep cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 |g~| g~{motion} 2 swap case for Nmove text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 |g<Down>| g<Down> 1 same as "gj"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 |g<End>| g<End> 1 same as "g$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 |g<Home>| g<Home> 1 same as "g0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 |g<LeftMouse>| g<LeftMouse> same as <C-LeftMouse>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740 g<MiddleMouse> same as <C-MiddleMouse>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 |g<RightMouse>| g<RightMouse> same as <C-RightMouse>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 |g<Up>| g<Up> 1 same as "gk"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
745 2.5 Commands starting with 'z' *z*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
746
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747 tag char note action in Normal mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
748 ------------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749 |z<CR>| z<CR> redraw, cursor line to top of window,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 cursor on first non-blank
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 |zN<CR>| z{height}<CR> redraw, make window {height} lines high
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752 |z+| z+ cursor on line N (default line below
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753 window), otherwise like "z<CR>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 |z-| z- redraw, cursor line at bottom of window,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 cursor on first non-blank
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756 |z.| z. redraw, cursor line to center of window,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 cursor on first non-blank
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758 |zA| zA open a closed fold or close an open fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 recursively
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 |zC| zC close folds recursively
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 |zD| zD delete folds recursively
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 |zE| zE eliminate all folds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 |zF| zF create a fold for N lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 |zM| zM set 'foldlevel' to zero
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 |zN| zN set 'foldenable'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 |zO| zO open folds recursively
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 |zR| zR set 'foldlevel' to the deepest fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768 |zX| zX re-apply 'foldlevel'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 |z^| z^ cursor on line N (default line above
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 window), otherwise like "z-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 |za| za open a closed fold, close an open fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 |zb| zb redraw, cursor line at bottom of window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 |zc| zc close a fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774 |zd| zd delete a fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
775 |ze| ze when 'wrap' off scroll horizontally to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 position the cursor at the end (right side)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 of the screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 |zf| zf{motion} create a fold for Nmove text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 |zh| zh when 'wrap' off scroll screen N characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 to the right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 |zi| zi toggle 'foldenable'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 |zj| zj 1 move to the start of the next fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783 |zk| zk 1 move to the end of the previous fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 |zl| zl when 'wrap' off scroll screen N characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785 to the left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 |zm| zm subtract one from 'foldlevel'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 |zn| zn reset 'foldenable'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788 |zo| zo open fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
789 |zr| zr add one to 'foldlevel'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 |zs| zs when 'wrap' off scroll horizontally to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791 position the cursor at the start (left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 side) of the screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793 |zt| zt redraw, cursor line at top of window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 |zv| zv open enough folds to view the cursor line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 |zx| zx re-apply 'foldlevel' and do "zv"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 |zz| zz redraw, cursor line at center of window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 |z<Left>| z<Left> same as "zh"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 |z<Right>| z<Right> same as "zl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 3. Visual mode *visual-index*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 170
diff changeset
803 Most commands in Visual mode are the same as in Normal mode. The ones listed
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804 here are those that are different.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 tag command note action in Visual mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 ------------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 |v_CTRL-\_CTRL-N| CTRL-\ CTRL-N stop Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809 |v_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode'
42
c75153d791d0 updated for version 7.0026
vimboss
parents: 41
diff changeset
810 |v_CTRL-C| CTRL-C stop Visual mode
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
811 |v_CTRL-G| CTRL-G toggle between Visual mode and Select mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 |v_<BS>| <BS> 2 Select mode: delete highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 |v_CTRL-H| CTRL-H 2 same as <BS>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 |v_CTRL-O| CTRL-O switch from Select to Visual mode for one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 |v_CTRL-V| CTRL-V make Visual mode blockwise or stop Visual
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 mode
42
c75153d791d0 updated for version 7.0026
vimboss
parents: 41
diff changeset
818 |v_<Esc>| <Esc> stop Visual mode
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
819 |v_CTRL-]| CTRL-] jump to highlighted tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
820 |v_!| !{filter} 2 filter the highlighted lines through the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 external command {filter}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
822 |v_:| : start a command-line with the highlighted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823 lines as a range
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 |v_<| < 2 shift the highlighted lines one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825 'shiftwidth' left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
826 |v_=| = 2 filter the highlighted lines through the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 external program given with the 'equalprg'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
828 option
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 |v_>| > 2 shift the highlighted lines one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830 'shiftwidth' right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
831 |v_b_A| A 2 block mode: append same text in all lines,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
832 after the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
833 |v_C| C 2 delete the highlighted lines and start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
834 insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 |v_D| D 2 delete the highlighted lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
836 |v_b_I| I 2 block mode: insert same text in all lines,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 before the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
838 |v_J| J 2 join the highlighted lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839 |v_K| K run 'keywordprg' on the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
840 |v_O| O Move horizontally to other corner of area.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 Q does not start Ex mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 |v_R| R 2 delete the highlighted lines and start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
843 insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 |v_S| S 2 delete the highlighted lines and start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
845 insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846 |v_U| U 2 make highlighted area uppercase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 |v_V| V make Visual mode linewise or stop Visual
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 |v_X| X 2 delete the highlighted lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 |v_Y| Y yank the highlighted lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851 |v_a(| a( same as ab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 |v_a)| a) same as ab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 |v_a<| a< extend highlighted area with a <> block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
854 |v_a>| a> same as a<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855 |v_aB| aB extend highlighted area with a {} block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856 |v_aW| aW extend highlighted area with "a WORD"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857 |v_a[| a[ extend highlighted area with a [] block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
858 |v_a]| a] same as a[
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
859 |v_ab| ab extend highlighted area with a () block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
860 |v_ap| ap extend highlighted area with a paragraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
861 |v_as| as extend highlighted area with a sentence
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
862 |v_aw| aw extend highlighted area with "a word"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
863 |v_a{| a{ same as aB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
864 |v_a}| a} same as aB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
865 |v_c| c 2 delete highlighted area and start insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
866 |v_d| d 2 delete highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
867 |v_gJ| gJ 2 join the highlighted lines without
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
868 inserting spaces
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
869 |v_gq| gq 2 format the highlighted lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
870 |v_gv| gv exchange current and previous highlighted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
871 area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
872 |v_i(| i( same as ib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873 |v_i)| i) same as ib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874 |v_i<| i< extend highlighted area with inner <> block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 |v_i>| i> same as i<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876 |v_iB| iB extend highlighted area with inner {} block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 |v_iW| iW extend highlighted area with "inner WORD"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 |v_i[| i[ extend highlighted area with inner [] block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 |v_i]| i] same as i[
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 |v_ib| ib extend highlighted area with inner () block
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 |v_ip| ip extend highlighted area with inner paragraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 |v_is| is extend highlighted area with inner sentence
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 |v_iw| iw extend highlighted area with "inner word"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 |v_i{| i{ same as iB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885 |v_i}| i} same as iB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 |v_o| o move cursor to other corner of area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
887 |v_r| r 2 delete highlighted area and start insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888 |v_s| s 2 delete highlighted area and start insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 |v_u| u 2 make highlighted area lowercase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 |v_v| v make Visual mode characterwise or stop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 |v_x| x 2 delete the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 |v_y| y yank the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894 |v_~| ~ 2 swap case for the highlighted area
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897 4. Command-line editing *ex-edit-index*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 Get to the command-line with the ':', '!', '/' or '?' commands.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 Normal characters are inserted at the current cursor position.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 "Completion" below refers to context-sensitive completion. It will complete
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 file names, tags, commands etc. as appropriate.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
904 CTRL-@ not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 |c_CTRL-A| CTRL-A do completion on the pattern in front of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
906 cursor and insert all matches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 |c_CTRL-B| CTRL-B cursor to begin of command-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 |c_CTRL-C| CTRL-C same as <ESC>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 |c_CTRL-D| CTRL-D list completions that match the pattern in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910 front of the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
911 |c_CTRL-E| CTRL-E cursor to end of command-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
912 |'cedit'| CTRL-F default value for 'cedit': opens the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
913 command-line window; otherwise not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
914 CTRL-G not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
915 |c_<BS>| <BS> delete the character in front of the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
916 |c_digraph| {char1} <BS> {char2}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
917 enter digraph when 'digraph' is on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
918 |c_CTRL-H| CTRL-H same as <BS>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
919 |c_<Tab>| <Tab> if 'wildchar' is <Tab>: Do completion on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
920 the pattern in front of the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
921 |c_<S-Tab>| <S-Tab> same as CTRL-P
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
922 |c_wildchar| 'wildchar' Do completion on the pattern in front of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
923 cursor (default: <Tab>)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
924 |c_CTRL-I| CTRL-I same as <Tab>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 |c_<NL>| <NL> same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 |c_CTRL-J| CTRL-J same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 |c_CTRL-K| CTRL-K {char1} {char2}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 enter digraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
929 |c_CTRL-L| CTRL-L do completion on the pattern in front of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 cursor and insert the longest common part
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931 |c_<CR>| <CR> execute entered command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
932 |c_<CR>| CTRL-M same as <CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
933 |c_CTRL-N| CTRL-N after using 'wildchar' with multiple matches:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
934 go to next match, otherwise: same as <Down>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935 CTRL-O not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
936 |c_CTRL-P| CTRL-P after using 'wildchar' with multiple matches:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
937 go to previous match, otherwise: same as <Up>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 |c_CTRL-Q| CTRL-Q same as CTRL-V, unless it's used for terminal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
939 control flow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
940 |c_CTRL-R| CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 insert the contents of a register or object
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
942 under the cursor as if typed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
943 |c_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 insert the contents of a register or object
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
945 under the cursor literally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
946 CTRL-S (used for terminal control flow)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
947 CTRL-T not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
948 |c_CTRL-U| CTRL-U remove all characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
949 |c_CTRL-V| CTRL-V insert next non-digit literally, insert three
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 digit decimal number as a single byte.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
951 |c_CTRL-W| CTRL-W delete the word in front of the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
952 CTRL-X not used (reserved for completion)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 CTRL-Y copy (yank) modeless selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 CTRL-Z not used (reserved for suspend)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
955 |c_<Esc>| <Esc> abandon command-line without executing it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
956 |c_<Esc>| CTRL-[ same as <Esc>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 |c_CTRL-\_CTRL-N| CTRL-\ CTRL-N go to Normal mode, abandon command-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 |c_CTRL-\_CTRL-G| CTRL-\ CTRL-G go to mode specified with 'insertmode',
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
959 abandon command-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 CTRL-\ a - d reserved for extensions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 |c_CTRL-\_e| CTRL-\ e {expr} replace the command line with the result of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
962 {expr}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
963 CTRL-\ f - z reserved for extensions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 CTRL-\ others not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
965 CTRL-] not used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
966 |c_CTRL-^| CTRL-^ toggle use of |:lmap| mappings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967 |c_CTRL-_| CTRL-_ when 'allowrevins' set: change language
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
968 (Hebrew, Farsi)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 |c_<Del>| <Del> delete the character under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 |c_<Left>| <Left> cursor left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 |c_<S-Left>| <S-Left> cursor one word left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973 |c_<C-Left>| <C-Left> cursor one word left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
974 |c_<Right>| <Right> cursor right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 |c_<S-Right>| <S-Right> cursor one word right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 |c_<C-Right>| <C-Right> cursor one word right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 |c_<Up>| <Up> recall previous command-line from history that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
978 matches pattern in front of the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 |c_<S-Up>| <S-Up> recall previous command-line from history
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980 |c_<Down>| <Down> recall next command-line from history that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
981 matches pattern in front of the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
982 |c_<S-Down>| <S-Down> recall next command-line from history
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
983 |c_<Home>| <Home> cursor to start of command-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
984 |c_<End>| <End> cursor to end of command-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
985 |c_<PageDown>| <PageDown> same as <S-Down>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
986 |c_<PageUp>| <PageUp> same as <S-Up>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
987 |c_<Insert>| <Insert> toggle insert/overstrike mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
988 |c_<LeftMouse>| <LeftMouse> cursor at mouse click
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
989
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
990 You found it, Arthur! *holy-grail*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
992 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
993 5. EX commands *ex-cmd-index* *:index*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
995 This is a brief but complete listing of all the ":" commands, without
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
996 mentioning any arguments. The optional part of the command name is inside [].
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
997 The commands are sorted on the non-optional part of their name.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
998
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
999 |:!| :! filter lines or execute an external command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1000 |:!!| :!! repeat last ":!" command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1001 |:#| :# same as ":number"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1002 |:&| :& repeat last ":substitute"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1003 |:star| :* execute contents of a register
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1004 |:<| :< shift lines one 'shiftwidth' left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1005 |:=| := print the cursor line number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1006 |:>| :> shift lines one 'shiftwidth' right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1007 |:@| :@ execute contents of a register
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008 |:@@| :@@ repeat the previous ":@"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1009 |:Next| :N[ext] go to previous file in the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1010 |:Print| :P[rint] print lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1011 |:X| :X ask for encryption key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012 |:append| :a[ppend] append text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1013 |:abbreviate| :ab[breviate] enter abbreviation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1014 |:abclear| :abc[lear] remove all abbreviations
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1015 |:aboveleft| :abo[veleft] make split window appear left or above
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1016 |:all| :al[l] open a window for each file in the argument
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1017 list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1018 |:amenu| :am[enu] enter new menu item for all modes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1019 |:anoremenu| :an[oremenu] enter a new menu for all modes that will not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1020 be remapped
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1021 |:args| :ar[gs] print the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1022 |:argadd| :arga[dd] add items to the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1023 |:argdelete| :argd[elete] delete items from the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1024 |:argedit| :arge[dit] add item to the argument list and edit it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1025 |:argdo| :argdo do a command on all items in the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1026 |:argglobal| :argg[lobal] define the global argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1027 |:arglocal| :argl[ocal] define a local argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1028 |:argument| :argu[ment] go to specific file in the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1029 |:ascii| :as[cii] print ascii value of character under the cursor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1030 |:autocmd| :au[tocmd] enter or show autocommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1031 |:augroup| :aug[roup] select the autocommand group to use
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1032 |:aunmenu| :aun[menu] remove menu for all modes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1033 |:buffer| :b[uffer] go to specific buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1034 |:bNext| :bN[ext] go to previous buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1035 |:ball| :ba[ll] open a window for each buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1036 |:badd| :bad[d] add buffer to the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1037 |:bdelete| :bd[elete] remove a buffer from the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1038 |:behave| :be[have] set mouse and selection behavior
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1039 |:belowright| :bel[owright] make split window appear right or below
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1040 |:bfirst| :bf[irst] go to first buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 |:blast| :bl[ast] go to last buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1042 |:bmodified| :bm[odified] go to next buffer in the buffer list that has
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1043 been modified
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1044 |:bnext| :bn[ext] go to next buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1045 |:botright| :bo[tright] make split window appear at bottom or far right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1046 |:bprevious| :bp[revious] go to previous buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1047 |:brewind| :br[ewind] go to first buffer in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1048 |:break| :brea[k] break out of while loop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1049 |:breakadd| :breaka[dd] add a debugger breakpoint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1050 |:breakdel| :breakd[el] delete a debugger breakpoint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1051 |:breaklist| :breakl[ist] list debugger breakpoints
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1052 |:browse| :bro[wse] use file selection dialog
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1053 |:bufdo| :bufdo execute command in each listed buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1054 |:buffers| :buffers list all files in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1055 |:bunload| :bun[load] unload a specific buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1056 |:bwipeout| :bw[ipeout] really delete a buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 |:change| :c[hange] replace a line or series of lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1058 |:cNext| :cN[ext] go to previous error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1059 |:cNfile| :cNf[ile] go to last error in previous file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1060 |:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1061 |:cabclear| :cabc[lear] clear all abbreviations for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1062 |:call| :cal[l] call a function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1063 |:catch| :cat[ch] part of a :try command
41
f529edb9bab3 updated for version 7.0025
vimboss
parents: 40
diff changeset
1064 |:cbuffer| :cb[uffer] parse error messages and jump to first error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1065 |:cc| :cc go to specific error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1066 |:cclose| :ccl[ose] close quickfix window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1067 |:cd| :cd change directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1068 |:center| :ce[nter] format lines at the center
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1069 |:cfile| :cf[ile] read file with error messages and jump to first
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1070 |:cfirst| :cfir[st] go to the specified error, default first one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1071 |:cgetfile| :cg[etfile] read file with error messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1072 |:changes| :cha[nges] print the change list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1073 |:chdir| :chd[ir] change directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1074 |:checkpath| :che[ckpath] list included files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1075 |:checktime| :checkt[ime] check timestamp of loaded buffers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1076 |:clist| :cl[ist] list all errors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1077 |:clast| :cla[st] go to the specified error, default last one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1078 |:close| :clo[se] close current window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1079 |:cmap| :cm[ap] like ":map" but for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1080 |:cmapclear| :cmapc[lear] clear all mappings for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1081 |:cmenu| :cme[nu] add menu for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082 |:cnext| :cn[ext] go to next error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1083 |:cnewer| :cnew[er] go to newer error list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084 |:cnfile| :cnf[ile] go to first error in next file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1085 |:cnoremap| :cno[remap] like ":noremap" but for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1086 |:cnoreabbrev| :cnorea[bbrev] like ":noreabbrev" but for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087 |:cnoremenu| :cnoreme[nu] like ":noremenu" but for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1088 |:copy| :co[py] copy lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089 |:colder| :col[der] go to older error list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1090 |:colorscheme| :colo[rscheme] load a specific color scheme
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 |:command| :com[mand] create user-defined command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1092 |:comclear| :comc[lear] clear all user-defined commands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1093 |:compiler| :comp[iler] do settings for a specific compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1094 |:continue| :con[tinue] go back to :while
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1095 |:confirm| :conf[irm] prompt user when confirmation required
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1096 |:copen| :cope[n] open quickfix window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097 |:cprevious| :cp[revious] go to previous error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1098 |:cpfile| :cpf[ile] go to last error in previous file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1099 |:cquit| :cq[uit] quit Vim with an error code
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 |:crewind| :cr[ewind] go to the specified error, default first one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1101 |:cscope| :cs[cope] execute cscope command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 |:cstag| :cst[ag] use cscope to jump to a tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1103 |:cunmap| :cu[nmap] like ":unmap" but for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1104 |:cunabbrev| :cuna[bbrev] like ":unabbrev" but for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1105 |:cunmenu| :cunme[nu] remove menu for Command-line mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1106 |:cwindow| :cw[indow] open or close quickfix window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1107 |:delete| :d[elete] delete lines
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents: 16
diff changeset
1108 |:delmarks| :delm[arks] delete marks
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1109 |:debug| :deb[ug] run a command in debugging mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1110 |:debuggreedy| :debugg[reedy] read debug mode commands from normal input
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1111 |:delcommand| :delc[ommand] delete user-defined command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1112 |:delfunction| :delf[unction] delete a user function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1113 |:diffupdate| :dif[fupdate] update 'diff' buffers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1114 |:diffget| :diffg[et] remove differences in current buffer
16
3ba373b54370 updated for version 7.0008
vimboss
parents: 15
diff changeset
1115 |:diffoff| :diffo[ff] switch off diff mode
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1116 |:diffpatch| :diffp[atch] apply a patch and show differences
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1117 |:diffput| :diffpu[t] remove differences in other buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1118 |:diffsplit| :diffs[plit] show differences with another file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1119 |:diffthis| :diffthis make current window a diff window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 |:digraphs| :dig[raphs] show or enter digraphs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1121 |:display| :di[splay] display registers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 |:djump| :dj[ump] jump to #define
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1123 |:dlist| :dl[ist] list #defines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1124 |:doautocmd| :do[autocmd] apply autocommands to current buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1125 |:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1126 |:drop| :dr[op] jump to window editing file or edit file in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1127 current window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1128 |:dsearch| :ds[earch] list one #define
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1129 |:dsplit| :dsp[lit] split window and jump to #define
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1130 |:edit| :e[dit] edit a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1131 |:echo| :ec[ho] echoes the result of expressions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1132 |:echoerr| :echoe[rr] like :echo, show like an error and use history
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1133 |:echohl| :echoh[l] set highlighting for echo commands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1134 |:echomsg| :echom[sg] same as :echo, put message in history
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1135 |:echon| :echon same as :echo, but without <EOL>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1136 |:else| :el[se] part of an :if command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1137 |:elseif| :elsei[f] part of an :if command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1138 |:emenu| :em[enu] execute a menu by name
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1139 |:endif| :en[dif] end previous :if
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1140 |:endfunction| :endf[unction] end of a user function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1141 |:endtry| :endt[ry] end previous :try
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1142 |:endwhile| :endw[hile] end previous :while
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1143 |:enew| :ene[w] edit a new, unnamed buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1144 |:ex| :ex same as ":edit"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1145 |:execute| :exe[cute] execute result of expressions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1146 |:exit| :exi[t] same as ":xit"
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 36
diff changeset
1147 |:exusage| :exu[sage] overview of Ex commands
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1148 |:file| :f[ile] show or set the current file name
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1149 |:files| :files list all files in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1150 |:filetype| :filet[ype] switch file type detection on/off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1151 |:find| :fin[d] find file in 'path' and edit it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1152 |:finally| :fina[lly] part of a :try command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1153 |:finish| :fini[sh] quit sourcing a Vim script
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1154 |:first| :fir[st] go to the first file in the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1155 |:fixdel| :fix[del] set key code of <Del>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1156 |:fold| :fo[ld] create a fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1157 |:foldclose| :foldc[lose] close folds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1158 |:folddoopen| :foldd[oopen] execute command on lines not in a closed fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1159 |:folddoclosed| :folddoc[losed] execute command on lines in a closed fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1160 |:foldopen| :foldo[pen] open folds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1161 |:function| :fu[nction] define a user function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1162 |:global| :g[lobal] execute commands for matching lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1163 |:goto| :go[to] go to byte in the buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1164 |:grep| :gr[ep] run 'grepprg' and jump to first match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1165 |:grepadd| :grepa[dd] like grep, but append to current list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1166 |:gui| :gu[i] start the GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1167 |:gvim| :gv[im] start the GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1168 |:hardcopy| :ha[rdcopy] send text to the printer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1169 |:help| :h[elp] open a help window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1170 |:helpfind| :helpf[ind] dialog to open a help window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1171 |:helpgrep| :helpg[rep] like ":grep" but searches help files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1172 |:helptags| :helpt[ags] generate help tags for a directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1173 |:highlight| :hi[ghlight] specify highlighting methods
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1174 |:hide| :hid[e] hide current buffer for a command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1175 |:history| :his[tory] print a history list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1176 |:insert| :i[nsert] insert text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1177 |:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1178 |:iabclear| :iabc[lear] like ":abclear" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1179 |:if| :if execute commands when condition met
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1180 |:ijump| :ij[ump] jump to definition of identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1181 |:ilist| :il[ist] list lines where identifier matches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1182 |:imap| :im[ap] like ":map" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1183 |:imapclear| :imapc[lear] like ":mapclear" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1184 |:imenu| :ime[nu] add menu for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1185 |:inoremap| :ino[remap] like ":noremap" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1186 |:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1187 |:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1188 |:intro| :int[ro] print the introductory message
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1189 |:isearch| :is[earch] list one line where identifier matches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1190 |:isplit| :isp[lit] split window and jump to definition of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1191 identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1192 |:iunmap| :iu[nmap] like ":unmap" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1193 |:iunabbrev| :iuna[bbrev] like ":unabbrev" but for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1194 |:iunmenu| :iunme[nu] remove menu for Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1195 |:join| :j[oin] join lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1196 |:jumps| :ju[mps] print the jump list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1197 |:k| :k set a mark
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1198 |:keepmarks| :kee[pmarks] following command keeps marks where they are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1199 |:keepjumps| :keepj[jumps] following command keeps jumplist and marks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1200 |:list| :l[ist] print lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1201 |:last| :la[st] go to the last file in the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1202 |:language| :lan[guage] set the language (locale)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1203 |:lcd| :lc[d] change directory locally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1204 |:lchdir| :lch[dir] change directory locally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1205 |:left| :le[ft] left align lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1206 |:leftabove| :lefta[bove] make split window appear left or above
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1207 |:let| :let assign a value to a variable or option
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1208 |:lmap| :lm[ap] like ":map!" but includes Lang-Arg mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1209 |:lmapclear| :lmapc[lear] like ":mapclear!" but includes Lang-Arg mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1210 |:lnoremap| :ln[oremap] like ":noremap!" but includes Lang-Arg mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1211 |:loadkeymap| :loadk[eymap] load the following keymaps until EOF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1212 |:loadview| :lo[adview] load view for current window from a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1213 |:lockmarks| :loc[kmarks] following command keeps marks where they are
152
c837baf03d43 updated for version 7.0047
vimboss
parents: 42
diff changeset
1214 |:lockvar| :lockv[ar] lock variables
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1215 |:ls| :ls list all buffers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1216 |:lunmap| :lu[nmap] like ":unmap!" but includes Lang-Arg mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1217 |:move| :m[ove] move lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1218 |:mark| :ma[rk] set a mark
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1219 |:make| :mak[e] execute external command 'makeprg' and parse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1220 error messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1221 |:map| :map show or enter a mapping
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1222 |:mapclear| :mapc[lear] clear all mappings for Normal and Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1223 |:marks| :marks list all marks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1224 |:match| :mat[ch] define a match to highlight
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1225 |:menu| :me[nu] enter a new menu item
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1226 |:menutranslate| :menut[ranslate] add a menu translation item
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1227 |:messages| :mes[sages] view previously displayed messages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1228 |:mkexrc| :mk[exrc] write current mappings and settings to a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1229 |:mksession| :mks[ession] write session info to a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1230 |:mkvimrc| :mkv[imrc] write current mappings and settings to a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1231 |:mkview| :mkvie[w] write view of current window to a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1232 |:mode| :mod[e] show or change the screen mode
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
1233 |:mzscheme| :mz[scheme] execute MzScheme command
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
1234 |:mzfile| :mzf[ile] execute MzScheme script file
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1235 |:next| :n[ext] go to next file in the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1236 |:new| :new create a new empty window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1237 |:nmap| :nm[ap] like ":map" but for Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1238 |:nmapclear| :nmapc[lear] clear all mappings for Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1239 |:nmenu| :nme[nu] add menu for Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1240 |:nnoremap| :nn[oremap] like ":noremap" but for Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1241 |:nnoremenu| :nnoreme[nu] like ":noremenu" but for Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1242 |:noremap| :no[remap] enter a mapping that will not be remapped
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1243 |:nohlsearch| :noh[lsearch] suspend 'hlsearch' highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1244 |:noreabbrev| :norea[bbrev] enter an abbreviation that will not be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1245 remapped
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1246 |:noremenu| :noreme[nu] enter a menu that will not be remapped
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1247 |:normal| :norm[al] execute Normal mode commands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1248 |:number| :nu[mber] print lines with line number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1249 |:nunmap| :nun[map] like ":unmap" but for Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1250 |:nunmenu| :nunme[nu] remove menu for Normal mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1251 |:open| :o[pen] start open mode (not implemented)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1252 |:omap| :om[ap] like ":map" but for Operator-pending mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1253 |:omapclear| :omapc[lear] remove all mappings for Operator-pending mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1254 |:omenu| :ome[nu] add menu for Operator-pending mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1255 |:only| :on[ly] close all windows except current one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1256 |:onoremap| :ono[remap] like ":noremap" but for Operator-pending mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1257 |:onoremenu| :onoreme[nu] like ":noremenu" but for Operator-pending mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1258 |:options| :opt[ions] open the options-window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1259 |:ounmap| :ou[nmap] like ":unmap" but for Operator-pending mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1260 |:ounmenu| :ounme[nu] remove menu for Operator-pending mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1261 |:pclose| :pc[lose] close preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1262 |:pedit| :ped[it] edit file in the preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1263 |:perl| :pe[rl] execute Perl command
170
8c60f65311fa updated for version 7.0052
vimboss
parents: 152
diff changeset
1264 |:print| :p[rint] print lines
8c60f65311fa updated for version 7.0052
vimboss
parents: 152
diff changeset
1265 |:profile| :prof[ile] profiling functions and scripts
8c60f65311fa updated for version 7.0052
vimboss
parents: 152
diff changeset
1266 |:promptfind| :pro[mtfind] open GUI dialog for searching
8c60f65311fa updated for version 7.0052
vimboss
parents: 152
diff changeset
1267 |:promptrepl| :promtr[epl] open GUI dialog for search/replace
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1268 |:perldo| :perld[o] execute Perl command for each line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1269 |:pop| :po[p] jump to older entry in tag stack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1270 |:popup| :pop[up] popup a menu by name
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1271 |:ppop| :pp[op] ":pop" in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1272 |:preserve| :pre[serve] write all text to swap file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1273 |:previous| :prev[ious] go to previous file in argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1274 |:promptfind| :pro[mptfind] Search dialog
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1275 |:promptrepl| :promptr[epl] Search/Replace dialog
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1276 |:psearch| :ps[earch] like ":ijump" but shows match in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1277 |:ptag| :pt[ag] show tag in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1278 |:ptNext| :ptN[ext] |:tNext| in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1279 |:ptfirst| :ptf[irst] |:trewind| in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1280 |:ptjump| :ptj[ump] |:tjump| and show tag in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1281 |:ptlast| :ptl[ast] |:tlast| in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1282 |:ptnext| :ptn[ext] |:tnext| in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1283 |:ptprevious| :ptp[revious] |:tprevious| in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1284 |:ptrewind| :ptr[ewind] |:trewind| in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1285 |:ptselect| :pts[elect] |:tselect| and show tag in preview window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1286 |:put| :pu[t] insert contents of register in the text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1287 |:pwd| :pw[d] print current directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1288 |:python| :py[thon] execute Python command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1289 |:pyfile| :pyf[ile] execute Python script file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1290 |:quit| :q[uit] quit current window (when one window quit Vim)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1291 |:quitall| :quita[ll] quit Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1292 |:qall| :qa[ll] quit Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1293 |:read| :r[ead] read file into the text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1294 |:recover| :rec[over] recover a file from a swap file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1295 |:redo| :red[o] redo one undone change
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1296 |:redir| :redi[r] redirect messages to a file or register
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1297 |:redraw| :redr[aw] force a redraw of the display
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1298 |:redrawstatus| :redraws[tatus] force a redraw of the status line(s)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1299 |:registers| :reg[isters] display the contents of registers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1300 |:resize| :res[ize] change current window height
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1301 |:retab| :ret[ab] change tab size
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1302 |:return| :retu[rn] return from a user function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1303 |:rewind| :rew[ind] go to the first file in the argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1304 |:right| :ri[ght] right align text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1305 |:rightbelow| :rightb[elow] make split window appear right or below
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1306 |:ruby| :rub[y] execute Ruby command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1307 |:rubydo| :rubyd[o] execute Ruby command for each line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1308 |:rubyfile| :rubyf[ile] execute Ruby script file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1309 |:runtime| :ru[ntime] source vim scripts in 'runtimepath'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1310 |:rviminfo| :rv[iminfo] read from viminfo file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1311 |:substitute| :s[ubstitute] find and replace text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1312 |:sNext| :sN[ext] split window and go to previous file in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1313 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1314 |:sargument| :sa[rgument] split window and go to specific file in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1315 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1316 |:sall| :sal[l] open a window for each file in argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1317 |:saveas| :sav[eas] save file under another name.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1318 |:sbuffer| :sb[uffer] split window and go to specific file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1319 buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1320 |:sbNext| :sbN[ext] split window and go to previous file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1321 buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1322 |:sball| :sba[ll] open a window for each file in the buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1323 |:sbfirst| :sbf[irst] split window and go to first file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1324 buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1325 |:sblast| :sbl[ast] split window and go to last file in buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1326 list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1327 |:sbmodified| :sbm[odified] split window and go to modified file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1328 buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1329 |:sbnext| :sbn[ext] split window and go to next file in the buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1330 list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1331 |:sbprevious| :sbp[revious] split window and go to previous file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1332 buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1333 |:sbrewind| :sbr[ewind] split window and go to first file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1334 buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1335 |:scriptnames| :scrip[tnames] list names of all sourced Vim scripts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1336 |:scriptencoding| :scripte[ncoding] encoding used in sourced Vim script
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1337 |:scscope| :scs[cope] split window and execute cscope command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1338 |:set| :se[t] show or set options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1339 |:setfiletype| :setf[iletype] set 'filetype', unless it was set already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1340 |:setglobal| :setg[lobal] show global values of options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1341 |:setlocal| :setl[ocal] show or set options locally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1342 |:sfind| :sf[ind] split current window and edit file in 'path'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1343 |:sfirst| :sfir[st] split window and go to first file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1344 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1345 |:shell| :sh[ell] escape to a shell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1346 |:simalt| :sim[alt] Win32 GUI: simulate Windows ALT key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1347 |:sign| :sig[n] manipulate signs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1348 |:silent| :sil[ent] Run a command silently
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1349 |:sleep| :sl[eep] do nothing for a few seconds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1350 |:slast| :sla[st] split window and go to last file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1351 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1352 |:smagic| :sm[agic] :substitute with 'magic'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1353 |:snext| :sn[ext] split window and go to next file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1354 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1355 |:sniff| :sni[ff] send request to sniff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1356 |:snomagic| :sno[magic] :substitute with 'nomagic'
280
453b78cb4881 updated for version 7.0075
vimboss
parents: 236
diff changeset
1357 |:sort| :sor[t] sort lines
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1358 |:source| :so[urce] read Vim or Ex commands from a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1359 |:split| :sp[lit] split current window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1360 |:sprevious| :spr[evious] split window and go to previous file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1361 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1362 |:srewind| :sre[wind] split window and go to first file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1363 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1364 |:stop| :st[op] suspend the editor or escape to a shell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1365 |:stag| :sta[g] split window and jump to a tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1366 |:startinsert| :star[tinsert] start Insert mode
14
946da5994c01 updated for version 7.0006
vimboss
parents: 12
diff changeset
1367 |:startreplace| :startr[eplace] start Replace mode
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1368 |:stopinsert|| :stopi[nsert] stop Insert mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1369 |:stjump| :stj[ump] do ":tjump" and split window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1370 |:stselect| :sts[elect] do ":tselect" and split window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1371 |:sunhide| :sun[hide] same as ":unhide"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1372 |:suspend| :sus[pend] same as ":stop"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1373 |:sview| :sv[iew] split window and edit file read-only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1374 |:swapname| :sw[apname] show the name of the current swap file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1375 |:syntax| :sy[ntax] syntax highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1376 |:syncbind| :sync[bind] sync scroll binding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1377 |:t| :t same as ":copy"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1378 |:tNext| :tN[ext] jump to previous matching tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1379 |:tag| :ta[g] jump to tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1380 |:tags| :tags show the contents of the tag stack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1381 |:tcl| :tc[l] execute Tcl command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1382 |:tcldo| :tcld[o] execute Tcl command for each line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1383 |:tclfile| :tclf[ile] execute Tcl script file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1384 |:tearoff| :te[aroff] tear-off a menu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1385 |:tfirst| :tf[irst] jump to first matching tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1386 |:throw| :th[row] throw an exception
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1387 |:tjump| :tj[ump] like ":tselect", but jump directly when there
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1388 is only one match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1389 |:tlast| :tl[ast] jump to last matching tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1390 |:tmenu| :tm[enu] define menu tooltip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1391 |:tnext| :tn[ext] jump to next matching tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1392 |:topleft| :to[pleft] make split window appear at top or far left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1393 |:tprevious| :tp[revious] jump to previous matching tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1394 |:trewind| :tr[ewind] jump to first matching tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1395 |:try| :try execute commands, abort on error or exception
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1396 |:tselect| :ts[elect] list matching tags and select one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1397 |:tunmenu| :tu[nmenu] remove menu tooltip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1398 |:undo| :u[ndo] undo last change(s)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1399 |:unabbreviate| :una[bbreviate] remove abbreviation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1400 |:unhide| :unh[ide] open a window for each loaded file in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1401 buffer list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1402 |:unlet| :unl[et] delete variable
152
c837baf03d43 updated for version 7.0047
vimboss
parents: 42
diff changeset
1403 |:unlockvar| :unlo[ckvar] unlock variables
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1404 |:unmap| :unm[ap] remove mapping
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1405 |:unmenu| :unme[nu] remove menu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1406 |:update| :up[date] write buffer if modified
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1407 |:vglobal| :v[global] execute commands for not matching lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1408 |:version| :ve[rsion] print version number and other info
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1409 |:verbose| :verb[ose] execute command with 'verbose' set
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1410 |:vertical| :vert[ical] make following command split vertically
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1411 |:visual| :vi[sual] same as ":edit", but turns off "Ex" mode
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 36
diff changeset
1412 |:viusage| :viu[sage] overview of Normal mode commands
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1413 |:view| :vie[w] edit a file read-only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1414 |:vmap| :vm[ap] like ":map" but for Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1415 |:vmapclear| :vmapc[lear] remove all mappings for Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1416 |:vmenu| :vme[nu] add menu for Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1417 |:vnoremap| :vn[oremap] like ":noremap" but for Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1418 |:vnew| :vne[w] create a new empty window, vertically split
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1419 |:vnoremenu| :vnoreme[nu] like ":noremenu" but for Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1420 |:vsplit| :vs[plit] split current window vertically
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1421 |:vunmap| :vu[nmap] like ":unmap" but for Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1422 |:vunmenu| :vunme[nu] remove menu for Visual mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1423 |:windo| :windo execute command in each window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1424 |:write| :w[rite] write to a file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1425 |:wNext| :wN[ext] write to a file and go to previous file in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1426 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1427 |:wall| :wa[ll] write all (changed) buffers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1428 |:while| :wh[ile] execute loop for as long as condition met
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1429 |:winsize| :wi[nsize] get or set window size (obsolete)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1430 |:wincmd| :winc[md] execute a Window (CTRL-W) command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1431 |:winpos| :winp[os] get or set window position
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1432 |:wnext| :wn[ext] write to a file and go to next file in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1433 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1434 |:wprevious| :wp[revious] write to a file and go to previous file in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1435 argument list
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1436 |:wq| :wq write to a file and quit window or Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1437 |:wqall| :wqa[ll] write all changed buffers and quit Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1438 |:wsverb| :ws[verb] pass the verb to workshop over IPC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1439 |:wviminfo| :wv[iminfo] write to viminfo file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1440 |:xit| :x[it] write if buffer changed and quit window or Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1441 |:xall| :xa[ll] same as ":wqall"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1442 |:yank| :y[ank] yank lines into a register
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1443 |:z| :z print some lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1444 |:~| :~ repeat last ":substitute"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1445
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1446 vim:tw=78:ts=8:ft=help:norl: