aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/repeat.txt
diff options
context:
space:
mode:
authorwatiko <service@mail.watiko.net>2016-02-15 22:40:55 +0900
committerwatiko <service@mail.watiko.net>2016-02-17 21:04:20 +0900
commit46128219462b44d4a5ae964b41812f6953753fed (patch)
tree4f621a3d8c28ebcc5c513c6e8ef9b6c061658f03 /runtime/doc/repeat.txt
parent498eb020498010c157e453daa8a1f3a518a82ff3 (diff)
downloadrneovim-46128219462b44d4a5ae964b41812f6953753fed.tar.gz
rneovim-46128219462b44d4a5ae964b41812f6953753fed.tar.bz2
rneovim-46128219462b44d4a5ae964b41812f6953753fed.zip
vim-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 vim/vim#470) https://github.com/vim/vim/commit/a0ed84a26897c994512873a895b9fc54e90c6845
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r--runtime/doc/repeat.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 21b5eef811..b2e935eb3f 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -109,6 +109,12 @@ q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
while executing a register, and it doesn't work inside
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.
+
q Stops recording.
Implementation note: The 'q' that stops recording is
not stored in the register, unless it was the result