Charles E Campbell Jr wrote: > 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 > >
I think it's looking for \%( See :help \%( -- __END__ Just my 0.00000002 million dollars worth, Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle