comparison runtime/doc/repeat.txt @ 20552:74e3316c1d5a

Update runtime files Commit: https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 26 21:20:45 2020 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 May 2020 21:30:04 +0200
parents 56265f711890
children 4bdc07beeadb
comparison
equal deleted inserted replaced
20551:f1b23a9643fe 20552:74e3316c1d5a
1 *repeat.txt* For Vim version 8.2. Last change: 2020 Apr 26 1 *repeat.txt* For Vim version 8.2. Last change: 2020 May 14
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
124 used for |y| and |p| the result is most likely not 124 used for |y| and |p| the result is most likely not
125 what is expected, because the put will paste the 125 what is expected, because the put will paste the
126 recorded macro and the yank will overwrite the 126 recorded macro and the yank will overwrite the
127 recorded macro. 127 recorded macro.
128 128
129 Note: The recording happens while you type, replaying
130 the register happens as if the keys come from a
131 mapping. This matters, for example, for undo, which
132 only syncs when commands were typed.
133
129 q Stops recording. (Implementation note: The 'q' that 134 q Stops recording. (Implementation note: The 'q' that
130 stops recording is not stored in the register, unless 135 stops recording is not stored in the register, unless
131 it was the result of a mapping) 136 it was the result of a mapping)
132 137
133 *@* 138 *@*
135 times. Note that register '%' (name of the current 140 times. Note that register '%' (name of the current
136 file) and '#' (name of the alternate file) cannot be 141 file) and '#' (name of the alternate file) cannot be
137 used. 142 used.
138 The register is executed like a mapping, that means 143 The register is executed like a mapping, that means
139 that the difference between 'wildchar' and 'wildcharm' 144 that the difference between 'wildchar' and 'wildcharm'
140 applies. 145 applies, and undo might not be synced in the same way.
141 For "@=" you are prompted to enter an expression. The 146 For "@=" you are prompted to enter an expression. The
142 result of the expression is then executed. 147 result of the expression is then executed.
143 See also |@:|. 148 See also |@:|.
144 149
145 *@@* *E748* 150 *@@* *E748*