summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-11-19 17:56:13 +0100
committerBram Moolenaar <Bram@vim.org>2015-11-19 17:56:13 +0100
commita0ed84a26897c994512873a895b9fc54e90c6845 (patch)
tree0ca54e1951f994c1d373a225fa9a537e14045f5a /runtime
parent32d03b34ac8a34a962f57847fc431a2b4e14efea (diff)
downloadvim-a0ed84a26897c994512873a895b9fc54e90c6845.zip
patch 7.4.925
Problem: User may yank or put using the register being recorded in. Solution: Add the recording register in the message. (Christian Brabandt, closes #470)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt1
-rw-r--r--runtime/doc/repeat.txt8
2 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 413353c42..9b8b5e6fa 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6528,6 +6528,7 @@ A jump table for the options with a short description can be found at |Q_op|.
c don't give |ins-completion-menu| messages. For example,
"-- XXX completion (YYY)", "match 1 of 2", "The only match",
"Pattern not found", "Back at original", etc.
+ q use "recording" instead of "recording @a"
This gives you the opportunity to avoid that a change between buffers
requires you to hit <Enter>, but still gives as useful a message as
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index af3a5182a..50431d352 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -109,7 +109,13 @@ 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|.
+
+ Note: If the register being used for recording is also
+ used for |y| and |p| the result is most likely not
+ what is expected, because the put will paste the
+ recorded macro and the yank will overwrite the
+ recorded macro. {Vi: no recording}
q Stops recording. (Implementation note: The 'q' that
stops recording is not stored in the register, unless