[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: |
Paul Fox |
Subject: |
Re: [vile] Can one get a list of [single character] commands easily? |
Date: |
Mon, 01 Apr 2013 17:18:29 -0400 |
brendan wrote:
> 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.
nice! thanks. indeed it does.
(and thanks to tom too, of course. :-)
paul
>
> I think that \n working in the replacement may be new, I recall
> previously using ^M (entered as ^V^M) for this...
----------------------
paul fox, address@hidden (arlington, ma, where it's 41.7 degrees)