aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/repeat.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r--runtime/doc/repeat.txt30
1 files changed, 9 insertions, 21 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 9cf445f361..847830af9b 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -106,11 +106,12 @@ To abort this type CTRL-C twice.
q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
(uppercase to append). The 'q' command is disabled
while executing a register, and it doesn't work inside
- a mapping and |:normal|. {Vi: no recording}
+ a mapping and |:normal|.
-q Stops recording. (Implementation note: The 'q' that
- stops recording is not stored in the register, unless
- it was the result of a mapping) {Vi: no recording}
+q Stops recording.
+ Implementation note: The 'q' that stops recording is
+ not stored in the register, unless it was the result
+ of a mapping
*@*
@{0-9a-z".=*+} Execute the contents of register {0-9a-z".=*+} [count]
@@ -122,7 +123,7 @@ q Stops recording. (Implementation note: The 'q' that
applies.
For "@=" you are prompted to enter an expression. The
result of the expression is then executed.
- See also |@:|. {Vi: only named registers}
+ See also |@:|.
*@@* *E748*
@@ Repeat the previous @{0-9a-z":*} [count] times.
@@ -139,17 +140,14 @@ q Stops recording. (Implementation note: The 'q' that
result of evaluating the expression is executed as an
Ex command.
Mappings are not recognized in these commands.
- {Vi: only in some versions} Future: Will execute the
- register for each line in the address range.
*:@:*
:[addr]@: Repeat last command-line. First set cursor at line
- [addr] (default is current line). {not in Vi}
+ [addr] (default is current line).
*:@@*
:[addr]@@ Repeat the previous :@{0-9a-z"}. First set cursor at
- line [addr] (default is current line). {Vi: only in
- some versions}
+ line [addr] (default is current line).
==============================================================================
4. Using Vim scripts *using-scripts*
@@ -168,7 +166,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|:bufdo|, in a loop or when another command follows
the display won't be updated while executing the
commands.
- {not in Vi}
*:ru* *:runtime*
:ru[ntime][!] {file} ..
@@ -200,7 +197,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
when no file could be found.
When 'verbose' is two or higher, there is a message
about each searched file.
- {not in Vi}
:scripte[ncoding] [encoding] *:scripte* *:scriptencoding* *E167*
Specify the character encoding used in the script.
@@ -227,16 +223,10 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
Mark) in utf-8 format Vim will recognize it, no need
to use ":scriptencoding utf-8" then.
- When compiled without the |+multi_byte| feature this
- command is ignored.
- {not in Vi}
-
*:scrip* *:scriptnames*
:scrip[tnames] List all sourced script names, in the order they were
first sourced. The number is used for the script ID
|<SID>|.
- {not in Vi} {not available when compiled without the
- |+eval| feature}
*:fini* *:finish* *E168*
:fini[sh] Stop sourcing a script. Can only be used in a Vim
@@ -246,7 +236,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
following the ":finally" up to the matching |:endtry|
are executed first. This process applies to all
nested ":try"s in the script. The outermost ":endtry"
- then stops sourcing the script. {not in Vi}
+ then stops sourcing the script.
All commands and command sequences can be repeated by putting them in a named
register and then executing it. There are two ways to get the commands in the
@@ -387,7 +377,6 @@ sourced file or user function and set breakpoints.
NOTE: The debugging mode is far from perfect. Debugging will have side
effects on how Vim works. You cannot use it to debug everything. For
example, the display is messed up by the debugging messages.
-{Vi does not have a debug mode}
An alternative to debug mode is setting the 'verbose' option. With a bigger
number it will give more verbose messages about what Vim is doing.
@@ -580,7 +569,6 @@ OBSCURE
Profiling means that Vim measures the time that is spent on executing
functions and/or scripts. The |+profile| feature is required for this.
It is only included when Vim was compiled with "huge" features.
-{Vi does not have profiling}
You can also use the |reltime()| function to measure time. This only requires
the |+reltime| feature, which is present more often.