[Gllug] VIM comment stripping

Jonathan Dye jonathan.dye at automationpartnership.com
Fri Jan 4 11:24:47 UTC 2002


At 12:15 04/01/02 +0000, you wrote:
>JD <jonathan.dye at automationpartnership.com> asked:
>
>> How can I convert:
>>
>> >> >Some forwarded
>> >> >message
>>
>> into:
>>
>> >Some forwarded message
>>
>> in VIM?
>
>:% s/>> >/>/

I thought there might be some magic to do it for me, not sure what I was
expecting really.  I used
:%!sed s/\>\>\ \>/\>/
in the end because I didn't relise you could do it in VIM.

JD


_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service

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




More information about the GLLUG mailing list