AFAIK, CTRL+V, CTRL+M is the only way to do this...if another solution presents itself, I want to know :)
on another note, if you ever have to substitute out funny control characters, you can use CTRL+V, CTRL+(character) for the control character -- William Sutton On Wed, 8 Feb 2006, Alan Porter wrote: > > >:%s/,/*nl*/g > > > > > > > I just tried (in vim) :%s/,/<CTRL-V><CTRL-M>/g > > The ctrl-V says that the next character is literal, and > should not be interpreted. When you press ctrl-M, you'll > see a blue colored "^M". > > That is, 10 keystrokes: : % s / , / ctrl-v ctrl-m / g > > I'm sure there's a dozen other ways to do it. > > Alan > > > > > . > > -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
