Re: break very long line into short one with one g-command

2006-10-03 Thread A.J.Mechelynck
Suresh Govindachar wrote: >> I have a line from about 40.000 characters. I want to break >> this up into lines which are 80 charactes long. >> >> In a previous thread, a few months ago this was possible with >> one g-command. I did use it then also, but can't recall it >> anymore.

RE: break very long line into short one with one g-command

2006-10-03 Thread Suresh Govindachar
>> I have a line from about 40.000 characters. I want to break >> this up into lines which are 80 charactes long. >> >> In a previous thread, a few months ago this was possible with >> one g-command. I did use it then also, but can't recall it >> anymore. > > I presume you must be

Re: break very long line into short one with one g-command

2006-10-03 Thread Eric Leenman
Hi Tim, I might be mistaking, yes. The line contains a codes like: X"200", X"040", X"200", X"040", X"3FF", X"000", X"000", X"2AC", Breaking the line after a , would be fine. Rgds, Eric [...] I presume you must be misremembering "g". I've done it with ":s" before: :%s/.\{80\}/&\r/g

Re: break very long line into short one with one g-command

2006-10-03 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, I have a line from about 40.000 characters. I want to break this up into lines which are 80 charactes long. In a previous thread, a few months ago this was possible with one g-command. I did use it then also, but can't recall it anymore. Thanks, Kind regards, Eric [

Re: break very long line into short one with one g-command

2006-10-03 Thread Tim Chase
I have a line from about 40.000 characters. I want to break this up into lines which are 80 charactes long. In a previous thread, a few months ago this was possible with one g-command. I did use it then also, but can't recall it anymore. I presume you must be misremembering "g". I've done it w