Silva, Paulo wrote:
Greetings,
I'm trying to do a replace in a selection.
After selecting the area, with v, directional keys, v again (or not -
both give the same result).
Then I type
:%s/\%V20/21/
and I get:
E71: Invalid character after \%
This works the same with any caracter that I put after the \% even with
no character.
Am I doing something wrong?
I don't know why you're having problems with \%<anything> ; it sounds
like something in your options
(ie. settings in your .vimrc): completion (:echo &cpt), magic (:echo
&magic), cpoptions (:echo &cpo -- is l in it?),
compatible (:echo &cp), etc.
Regards,
Chip Campbell