comparison runtime/doc/various.txt @ 4073:e362db8b2d7b

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Wed, 30 Jan 2013 14:18:00 +0100
parents b3f3237a3d72
children 605c9ce57ec3
comparison
equal deleted inserted replaced
4072:37438facb5eb 4073:e362db8b2d7b
1 *various.txt* For Vim version 7.3. Last change: 2012 Dec 05 1 *various.txt* For Vim version 7.3. Last change: 2012 Dec 06
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
172 Execute Normal mode commands {commands}. This makes 172 Execute Normal mode commands {commands}. This makes
173 it possible to execute Normal mode commands typed on 173 it possible to execute Normal mode commands typed on
174 the command-line. {commands} are executed like they 174 the command-line. {commands} are executed like they
175 are typed. For undo all commands are undone together. 175 are typed. For undo all commands are undone together.
176 Execution stops when an error is encountered. 176 Execution stops when an error is encountered.
177
177 If the [!] is given, mappings will not be used. 178 If the [!] is given, mappings will not be used.
179 Without it, when this command is called from a
180 non-remappable mapping (|:noremap|), the argument can
181 be mapped anyway.
182
178 {commands} should be a complete command. If 183 {commands} should be a complete command. If
179 {commands} does not finish a command, the last one 184 {commands} does not finish a command, the last one
180 will be aborted as if <Esc> or <C-C> was typed. 185 will be aborted as if <Esc> or <C-C> was typed.
181 The display isn't updated while ":normal" is busy.
182 This implies that an insert command must be completed 186 This implies that an insert command must be completed
183 (to start Insert mode, see |:startinsert|). A ":" 187 (to start Insert mode, see |:startinsert|). A ":"
184 command must be completed as well. And you can't use 188 command must be completed as well. And you can't use
185 "Q" or "gQ" to start Ex mode. 189 "Q" or "gQ" to start Ex mode.
190
191 The display is not updated while ":normal" is busy.
192
186 {commands} cannot start with a space. Put a count of 193 {commands} cannot start with a space. Put a count of
187 1 (one) before it, "1 " is one space. 194 1 (one) before it, "1 " is one space.
195
188 The 'insertmode' option is ignored for {commands}. 196 The 'insertmode' option is ignored for {commands}.
197
189 This command cannot be followed by another command, 198 This command cannot be followed by another command,
190 since any '|' is considered part of the command. 199 since any '|' is considered part of the command.
200
191 This command can be used recursively, but the depth is 201 This command can be used recursively, but the depth is
192 limited by 'maxmapdepth'. 202 limited by 'maxmapdepth'.
193 When this command is called from a non-remappable 203
194 mapping |:noremap|, the argument can be mapped anyway.
195 An alternative is to use |:execute|, which uses an 204 An alternative is to use |:execute|, which uses an
196 expression as argument. This allows the use of 205 expression as argument. This allows the use of
197 printable characters to represent special characters. 206 printable characters to represent special characters.
207
198 Example: > 208 Example: >
199 :exe "normal \<c-w>\<c-w>" 209 :exe "normal \<c-w>\<c-w>"
200 < {not in Vi, of course} 210 < {not in Vi, of course}
201 {not available when the |+ex_extra| feature was 211 {not available when the |+ex_extra| feature was
202 disabled at compile time} 212 disabled at compile time}