Re: vim wrapping [Was: Re: mutt is the bomb! (LDAP addressbook integration)]

2007-05-14 Thread Andrei Popescu
Pierre THIERRY <[EMAIL PROTECTED]> wrote:

> > Nice, but claws will do this as I type ;)
> 
> Does that mean that you can't prevent the wrapping to happen? Because
> I often need to type in long lines (e.g. code, commands or log).

Edit -> Special Paste - unwrapped
  - wrapped
  - as quotation

or just turn it off from the Edit menu (also Shift-Ctrl-L).

> Note that you could setup Vim so that it does check wrapping each time
> you insert a character when you're editing mail, AFAIK.

I have set it to "set filetype=mail textwidth=72 formatoptions+=acw".
It usually does what I want, except on rare occasions it wraps too much,
but can't find out what triggers that.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: PGP signature


Re: vim wrapping [Was: Re: mutt is the bomb! (LDAP addressbook integration)]

2007-05-14 Thread Pierre THIERRY
Scribit Andrei Popescu dies 08/05/2007 hora 18:20:
> > Sure it will.  Put your cursor in the paragraph, in command mode, hit
> > gqap
> > Note, no ':', just straight.
> 
> Nice, but claws will do this as I type ;)

Does that mean that you can't prevent the wrapping to happen? Because I
often need to type in long lines (e.g. code, commands or log).

Note that you could setup Vim so that it does check wrapping each time
you insert a character when you're editing mail, AFAIK.

Curiously,
Pierre
-- 
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A


signature.asc
Description: Digital signature


Re: vim wrapping [Was: Re: mutt is the bomb! (LDAP addressbook integration)]

2007-05-08 Thread Andrei Popescu
On Tue, May 08, 2007 at 10:53:22AM -0400, Douglas Allan Tutty wrote:

> > The problem is it only wraps when you reach the end of the line. If you
> > go back and insert text it will not rewrap everything.
> 
> Sure it will.  Put your cursor in the paragraph, in command mode, hit
>   gqap
> Note, no ':', just straight.

Nice, but claws will do this as I type ;)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: vim wrapping [Was: Re: mutt is the bomb! (LDAP addressbook integration)]

2007-05-08 Thread Douglas Allan Tutty
On Tue, May 08, 2007 at 05:28:41PM +0300, Andrei Popescu wrote:
> On Tue, May 08, 2007 at 06:52:33PM +1000, Alex Samad wrote:
> 
> > this is in my .mutt/vimrc file
> > 
> > source /etc/vim/vimrc
> > source ~/.vimrc
> > filetype indent on
> > highlight SpellErrors ctermfg=Red cterm=underline term=reverse
> > set filetype=mail " correct syntax highlighting
> > set textwidth=79  " wrap at column 79
> > setlocal spell spelllang=en_au 
> 
> The problem is it only wraps when you reach the end of the line. If you
> go back and insert text it will not rewrap everything.

Sure it will.  Put your cursor in the paragraph, in command mode, hit
gqap
Note, no ':', just straight.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



vim wrapping [Was: Re: mutt is the bomb! (LDAP addressbook integration)]

2007-05-08 Thread Andrei Popescu
On Tue, May 08, 2007 at 06:52:33PM +1000, Alex Samad wrote:

> this is in my .mutt/vimrc file
> 
> source /etc/vim/vimrc
> source ~/.vimrc
> filetype indent on
> highlight SpellErrors ctermfg=Red cterm=underline term=reverse
> set filetype=mail " correct syntax highlighting
> set textwidth=79  " wrap at column 79
> setlocal spell spelllang=en_au 

The problem is it only wraps when you reach the end of the line. If you
go back and insert text it will not rewrap everything.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature