[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: Mailing with 'gq'
From:       Piet Delport <pjd () 303 ! za ! net>
Date:       2002-12-11 15:39:21
[Download RAW message or body]


On Tue, 10 Dec 2002 at 13:43:44 +0100, Klaus Bosau wrote:
> 
[snip]
> 
> when formatted with 'gq' to tw=30. What I'd like to get however is
> 
> > ghghghg ghghghgh ghghgghgh
> > ghghg ghghgghg ghghggh
> >     A      B       C
> >     fgfgfg fgfgfgf ffgfgfg
> >     fgfgfg fgfgfgf ffgfgfg
> >     fgfgfg fgfgfgf ffgfgfg
> > ghghghg ghghghgh ghghgghgh
> > ghghg ghghgghg ghghggh
> 
> that's to say indented structures like this table for instance should be
> preserved. Is there a way to achieve this without the need to separate
> the table by hand from the rest of the message prior to hitting 'gq'?

In cases like these i usually use something like gqj or <visual>gq to
limit the reformatting.  In the end, it's much easier than developing
something that catches hundreds of special cases.

-- 
Piet Delport
Today's subliminal thought is:

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic