On 01/03/12 10:51, Karthick Gururaj wrote:
On Tue, Jan 3, 2012 at 9:28 PM, Tim Chase wrote
qqYp<C-A>q8@qqq<C-V>H$by3a<Esc>p:%norm
0yiw$@"<C-A><CR>q8@q6GA<Esc>ZZ

to solve the puzzle.  Knowing that "norm" can be shortened
one character by typing "no" followed by shift+tab, I tried
making the change.  It correctly expanded to ":%normal" as
expected, but when I got to the "8@q" portion to replay the
macro, it choked with an "E481: No range allowed".

More info here: |cmdline-completion|. The character is not
recognized when used inside a macro.  See 'wildcharm' for
that.

Doh...okay, it's documented. I find it unhelpful that playing back a macro as recorded doesn't do what was recorded and submit that wildcharm should default to wildchar to prevent such surprises. «grumble»

-tim


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to