Thanks! seems to be simply the "re-use of registers" question; I hadn't
realised that 'paste to a' and 'record keystrokes to a' would use the same a.
(not as dumb as it might sound I spend most of my working day in an
environment where, for example, "apply character style" and "apply paragraph
On Thursday, August 16, 2012 9:41:24 PM UTC+12, eNG1Ne wrote:
> 1. copy block of text to register a with "ay6
In normal mode that's an incomplete command, unless you're in visual mode, in
which case it has an extra 6. In command mode, that is
:"ay6
it's a comment, so a no-op, so it doesn't put
On Thu, Aug 16, 2012 at 11:41:24AM +0200, Niels Grundtvig Nielsen wrote:
> 1. copy block of text to register *a* with "ay6
>
> 2. record macro sequence
Which register did you use to record the macro sequence? If you
used qa, then the macro is stored in register a - therefore
destroying the origina
ViM 7.3.46 on Windows XP
big version with GUI
1. copy block of text to register *a* with "ay6
2. record macro sequence
/\t21
"ap;
3. result first time: cursor moves to first line containing [tab]21,
content of register *a* pasted below line
4. result next time: gibberish string pasted i