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
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -124,11 +124,11 @@ q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
124124 used for | y | and | p | the result is most likely not
125125 what is expected, because the put will paste the
126126 recorded macro and the yank will overwrite the
127- recorded macro. {Vi: no recording}
127+ recorded macro.
128128
129129q Stops recording. (Implementation note: The 'q' that
130130 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)
132132
133133 *@*
134134@{0-9a-z".=*+} Execute the contents of register {0-9a-z".=*+} [count]
@@ -140,7 +140,7 @@ q Stops recording. (Implementation note: The 'q' that
140140 applies.
141141 For "@=" you are prompted to enter an expression. The
142142 result of the expression is then executed.
143- See also | @: | . {Vi: only named registers}
143+ See also | @: | .
144144
145145 *@@* *E748*
146146@@ Repeat the previous @{0-9a-z":*} [count] times.
@@ -158,17 +158,16 @@ q Stops recording. (Implementation note: The 'q' that
158158 result of evaluating the expression is executed as an
159159 Ex command.
160160 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.
163163
164164 *:@:*
165165:[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).
167167
168168:[addr] @ *:@@*
169169:[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).
172171
173172==============================================================================
1741734. Using Vim scripts *using-scripts*
@@ -187,7 +186,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
187186 | :bufdo | , in a loop or when another command follows
188187 the display won't be updated while executing the
189188 commands.
190- {not in Vi}
191189
192190 *:ru* *:runtime*
193191:ru[ntime][!] [where] {file} ..
@@ -230,7 +228,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
230228 when no file could be found.
231229 When 'verbose' is two or higher, there is a message
232230 about each searched file.
233- {not in Vi}
234231
235232 *:pa* *:packadd* *E919*
236233: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|.
323320 set encoding=utf-8
324321 scriptencoding utf-8
325322<
326- {not in Vi}
327323
328324:scriptv[ersion] {version} *:scriptv* *:scriptversion*
329325 *E999* *E984*
@@ -341,8 +337,8 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
341337:scr[iptnames] List all sourced script names, in the order they were
342338 first sourced. The number is used for the script ID
343339 | <SID> | .
344- {not in Vi} {not available when compiled without the
345- | +eval | feature}
340+ {not available when compiled without the | +eval |
341+ feature}
346342
347343:scr[iptnames][!] {scriptId} *:script*
348344 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|.
358354 following the ":finally" up to the matching | :endtry |
359355 are executed first. This process applies to all
360356 nested ":try"s in the script. The outermost ":endtry"
361- then stops sourcing the script. {not in Vi}
357+ then stops sourcing the script.
362358
363359All commands and command sequences can be repeated by putting them in a named
364360register 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.
698694NOTE: The debugging mode is far from perfect. Debugging will have side
699695effects on how Vim works. You cannot use it to debug everything. For
700696example, the display is messed up by the debugging messages.
701- {Vi does not have a debug mode}
702697
703698An alternative to debug mode is setting the 'verbose' option. With a bigger
704699number it will give more verbose messages about what Vim is doing.
@@ -932,7 +927,6 @@ OBSCURE
932927Profiling means that Vim measures the time that is spent on executing
933928functions and/or scripts. The | +profile | feature is required for this.
934929It is only included when Vim was compiled with "huge" features.
935- {Vi does not have profiling}
936930
937931You can also use the | reltime() | function to measure time. This only requires
938932the | +reltime | feature, which is present more often.
0 commit comments