Re: replacing something with \n
- Hello Gary,
Monday, December 03, 2001, 10:27:03 AM, You wrote:
>>GJ> <CR> doesn't seem to work, but \r does, oddly enough. This on a Unix
>> Win2k - \r\n instead of \n for linebreaks.
>> Try <CR> instead of \n.
GJ> system with ff=unix.
\r breaks lines with ff=dos too.
:help sub-replace-special :
<CR> split line in two at this point (Type the <CR> as CTRL-V
\<CR> insert a carriage-return (CTRL-M) (Type the <CR> as CTRL-V
\n insert a <NL> (<NUL> in the file) (does NOT break the line)