vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Can one get a list of [single character] commands easily?


From: Brendan O'Dea
Subject: Re: [vile] Can one get a list of [single character] commands easily?
Date: Tue, 2 Apr 2013 08:15:43 +1100

On 1 April 2013 01:04, Paul Fox <address@hidden> wrote:
>  - convert all remaining whitespace to newlines:
>     1G
>     !Gsed -e 's/\s\+/\n/g'
>    [ can this be done within vile? ]

:%s/\s\+/\n/g

works for me.

I think that \n working in the replacement may be new, I recall
previously using ^M (entered as ^V^M) for this...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]