1
- *repeat.txt* For Vim version 8.1. Last change: 2019 Apr 05
1
+ *repeat.txt* For Vim version 8.1. Last change: 2019 May 07
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -124,11 +124,11 @@ q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
124
124
used for | y | and | p | the result is most likely not
125
125
what is expected, because the put will paste the
126
126
recorded macro and the yank will overwrite the
127
- recorded macro. {Vi: no recording}
127
+ recorded macro.
128
128
129
129
q Stops recording. (Implementation note: The 'q' that
130
130
stops recording is not stored in the register, unless
131
- it was the result of a mapping) {Vi: no recording}
131
+ it was the result of a mapping)
132
132
133
133
*@*
134
134
@{0-9a-z".=*+} Execute the contents of register {0-9a-z".=*+} [count]
@@ -140,7 +140,7 @@ q Stops recording. (Implementation note: The 'q' that
140
140
applies.
141
141
For "@=" you are prompted to enter an expression. The
142
142
result of the expression is then executed.
143
- See also | @: | . {Vi: only named registers}
143
+ See also | @: | .
144
144
145
145
*@@* *E748*
146
146
@@ Repeat the previous @{0-9a-z":*} [count] times.
@@ -158,17 +158,16 @@ q Stops recording. (Implementation note: The 'q' that
158
158
result of evaluating the expression is executed as an
159
159
Ex command.
160
160
Mappings are not recognized in these commands.
161
- {Vi: only in some versions} Future: Will execute the
162
- register for each line in the address range.
161
+ Future: Will execute the register for each line in the
162
+ address range.
163
163
164
164
*:@:*
165
165
:[addr] @: Repeat last command-line. First set cursor at line
166
- [addr] (default is current line). {not in Vi}
166
+ [addr] (default is current line).
167
167
168
168
:[addr] @ *:@@*
169
169
:[addr] @@ Repeat the previous :@{0-9a-z"} . First set cursor at
170
- line [addr] (default is current line). {Vi: only in
171
- some versions}
170
+ line [addr] (default is current line).
172
171
173
172
==============================================================================
174
173
4. Using Vim scripts *using-scripts*
@@ -187,7 +186,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
187
186
| :bufdo | , in a loop or when another command follows
188
187
the display won't be updated while executing the
189
188
commands.
190
- {not in Vi}
191
189
192
190
*:ru* *:runtime*
193
191
:ru[ntime][!] [where] {file} ..
@@ -230,7 +228,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
230
228
when no file could be found.
231
229
When 'verbose' is two or higher, there is a message
232
230
about each searched file.
233
- {not in Vi}
234
231
235
232
*:pa* *:packadd* *E919*
236
233
:pa[ckadd][!] {name} Search for an optional plugin directory in 'packpath'
@@ -323,7 +320,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
323
320
set encoding=utf-8
324
321
scriptencoding utf-8
325
322
<
326
- {not in Vi}
327
323
328
324
:scriptv[ersion] {version} *:scriptv* *:scriptversion*
329
325
*E999* *E984*
@@ -341,8 +337,8 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
341
337
:scr[iptnames] List all sourced script names, in the order they were
342
338
first sourced. The number is used for the script ID
343
339
| <SID> | .
344
- {not in Vi} {not available when compiled without the
345
- | +eval | feature}
340
+ {not available when compiled without the | +eval |
341
+ feature}
346
342
347
343
:scr[iptnames][!] {scriptId} *:script*
348
344
Edit script {scriptId} . Although ":scriptnames name"
@@ -358,7 +354,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
358
354
following the ":finally" up to the matching | :endtry |
359
355
are executed first. This process applies to all
360
356
nested ":try"s in the script. The outermost ":endtry"
361
- then stops sourcing the script. {not in Vi}
357
+ then stops sourcing the script.
362
358
363
359
All commands and command sequences can be repeated by putting them in a named
364
360
register and then executing it. There are two ways to get the commands in the
@@ -698,7 +694,6 @@ sourced file or user function and set breakpoints.
698
694
NOTE: The debugging mode is far from perfect. Debugging will have side
699
695
effects on how Vim works. You cannot use it to debug everything. For
700
696
example, the display is messed up by the debugging messages.
701
- {Vi does not have a debug mode}
702
697
703
698
An alternative to debug mode is setting the 'verbose' option. With a bigger
704
699
number it will give more verbose messages about what Vim is doing.
@@ -932,7 +927,6 @@ OBSCURE
932
927
Profiling means that Vim measures the time that is spent on executing
933
928
functions and/or scripts. The | +profile | feature is required for this.
934
929
It is only included when Vim was compiled with "huge" features.
935
- {Vi does not have profiling}
936
930
937
931
You can also use the | reltime() | function to measure time. This only requires
938
932
the | +reltime | feature, which is present more often.
0 commit comments