I occasionally want to eliminate all the text wrapping in a file (to be
able to import it into oowriter).
I have tried setting tw=0 and fo-=t but text wrapping persists. I can
get the effect by setting tw to a large value, such as 2000, but is
there a better way?
--
Anthony Campbell - a...@acamp
Excerpts from Anthony Campbell's message of Thu Dec 16 14:02:04 +0100 2010:
> I occasionally want to eliminate all the text wrapping in a file (to be
> able to import it into oowriter).
> I have tried setting tw=0 and fo-=t but text wrapping persists. I can
> get the effect by setting tw to a lar
On 16 Dec 2010, Marc Weber wrote:
> Excerpts from Anthony Campbell's message of Thu Dec 16 14:02:04 +0100 2010:
> > I occasionally want to eliminate all the text wrapping in a file (to be
> > able to import it into oowriter).
>
> > I have tried setting tw=0 and fo-=t but text wrapping persists. I
On 12/16/2010 10:05 AM, Anthony Campbell wrote:
That joins ALL the lines. What I need to do is to have each paragraph as
a contimuous line, so that when I import the file into oowriter it will
be easily editable.
You might try:
:g/\%^\|\n\@<=\s*\n/,/\n\n\|\%$/j
It doesn't leave a blank spac
On 16 Dec 2010, Tim Chase wrote:
> On 12/16/2010 10:05 AM, Anthony Campbell wrote:
> >That joins ALL the lines. What I need to do is to have each paragraph as
> >a contimuous line, so that when I import the file into oowriter it will
> >be easily editable.
>
> You might try:
>
> :g/\%^\|\n\@<=\
On 12/16/2010 10:35 AM, Anthony Campbell wrote:
On 16 Dec 2010, Tim Chase wrote:
:g/\%^\|\n\@<=\s*\n/,/\n\n\|\%$/j
Thanks very much - that works perfectly. Now I must try to understand
_how_ it works!
It breaks down as
:g/pattern1/action
where pattern1 is "find the beginning of a parag
On 16 Dec 2010, Tim Chase wrote:
> On 12/16/2010 10:35 AM, Anthony Campbell wrote:
> >On 16 Dec 2010, Tim Chase wrote:
> >> :g/\%^\|\n\@<=\s*\n/,/\n\n\|\%$/j
> >
> >Thanks very much - that works perfectly. Now I must try to understand
> >_how_ it works!
>
> It breaks down as
>
> :g/pattern1/ac
On Dec 16, 7:02 am, Anthony Campbell wrote:
> I occasionally want to eliminate all the text wrapping in a file (to be
> able to import it into oowriter).
>
> I have tried setting tw=0 and fo-=t but text wrapping persists. I can
> get the effect by setting tw to a large value, such as 2000, but i
Am 16.12.2010 17:21, schrieb Tim Chase:
On 12/16/2010 10:05 AM, Anthony Campbell wrote:
That joins ALL the lines. What I need to do is to have each paragraph as
a contimuous line, so that when I import the file into oowriter it will
be easily editable.
You might try:
:g/\%^\|\n\@<=\s*\n/,/\n\
On 9/04/11 6:51 PM, Andy Wokula wrote:
Am 16.12.2010 17:21, schrieb Tim Chase:
On 12/16/2010 10:05 AM, Anthony Campbell wrote:
That joins ALL the lines. What I need to do is to have each paragraph as
a contimuous line, so that when I import the file into oowriter it will
be easily editable.
I
On 10 Apr 2011, Ben Schmidt wrote:
> On 9/04/11 6:51 PM, Andy Wokula wrote:
> >Am 16.12.2010 17:21, schrieb Tim Chase:
> >>On 12/16/2010 10:05 AM, Anthony Campbell wrote:
> >>>That joins ALL the lines. What I need to do is to have each paragraph as
> >>>a contimuous line, so that when I import the
11 matches
Mail list logo