comparison runtime/doc/repeat.txt @ 7233:9487ea110214 v7.4.925

commit https://github.com/vim/vim/commit/a0ed84a26897c994512873a895b9fc54e90c6845 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 19 17:56:13 2015 +0100 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)
author Christian Brabandt <cb@256bit.org>
date Thu, 19 Nov 2015 18:00:05 +0100
parents 49db2b239564
children 8fc60af6dbf5
comparison
equal deleted inserted replaced
7232:878484cdbf5b 7233:9487ea110214
107 107
108 *q* *recording* 108 *q* *recording*
109 q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"} 109 q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
110 (uppercase to append). The 'q' command is disabled 110 (uppercase to append). The 'q' command is disabled
111 while executing a register, and it doesn't work inside 111 while executing a register, and it doesn't work inside
112 a mapping and |:normal|. {Vi: no recording} 112 a mapping and |:normal|.
113
114 Note: If the register being used for recording is also
115 used for |y| and |p| the result is most likely not
116 what is expected, because the put will paste the
117 recorded macro and the yank will overwrite the
118 recorded macro. {Vi: no recording}
113 119
114 q Stops recording. (Implementation note: The 'q' that 120 q Stops recording. (Implementation note: The 'q' that
115 stops recording is not stored in the register, unless 121 stops recording is not stored in the register, unless
116 it was the result of a mapping) {Vi: no recording} 122 it was the result of a mapping) {Vi: no recording}
117 123