On Wed, Sep 15, 2010 at 05:14:13PM -0400, Ven Tadipatri wrote: > Yeah the \r in the replace part worked. That's really weird, because > though it does the right behavior, after the replace, if I search for > \r it says it can't find it, so somehow it translates \r in the > replace clause to \n in the buffer.
It's a little confusing: \n is \n when searching and \r when replacing. The \r in replace is a in reality a \n. So you can't find a \r after this replace, because Vim has replaced it with a \n. I've no idea why this was done, but we are stuck with it. Hope this helps, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
pgpMDsT9dGSQl.pgp
Description: PGP signature