[Linux-disciples] Replacing carriage returns
Adam Kessel
adam at rosi-kessel.org
Sun Apr 18 16:13:00 EDT 2004
What do you mean by "replace carriage returns"? Do you want to change
something at the end of each line? Then you would do :%s/$/whatever/.
Do you want to join lines together? Try:
:%s/\n//g
On Sun, Apr 18, 2004 at 03:53:01PM -0400, Stephen R Laniel wrote:
> This is probably a really simple question, but: how do I
> replace carriage returns in vim? I tried searching for <cr>
> or <CR>, and I did the Ctrl+v Ctrl+Enter trick; neither
> worked. What am I missing?
--
Adam Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040418/3ac915a9/attachment.pgp
More information about the Linux-disciples
mailing list