[Gllug] VIM comment stripping

Bruce Richardson itsbruce at uklinux.net
Fri Jan 4 13:21:38 UTC 2002



>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 1/4/02, 12:37:50 PM, "Wulf Forrester-Barker" <wulf.f-b at uhl.nhs.uk> wrote 
regarding Re: [Gllug] VIM comment stripping:


> <gllug at codex.net> suggested:

> > :%s/^>> //g

> Aha - even more succint... although if we're squeezing it down as much
> as possible, you could reduce it further to:

> :%s/^>> /

And of course if you select the area in visual mode and then press : it 
automatically sets up

:'<,'>

to which you append your command.  And the marks '< and '> will refer to 
that block until you visually select another.

-- 

Bruce



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list