Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Manoj Victor Mathew
On Fri, Jul 28, 2000 at 04:41:48PM +0200, Kai Weber wrote: > > how can I let read some special mail configs (e.g. set tw=72) when edit > a email/news messages? I use the below given line in my .muttrc, so that a "set ft=mail" is executed at vim startup. set editor="vim \"+set ft=mail\" " HTH.

Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Christian R Molls
* Suresh Ramasubramanian <[EMAIL PROTECTED]> [000731 13:20]: >> Which leads to the question: why does syntax detection work on all >> mails except that have been postponed and are recalled? > Mutt uses a totally different naming syntax (apparently a random > string - not mutt-hostname-foo) for p

Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Christian Molls
* Johannes Zellner <[EMAIL PROTECTED]> [000731 11:50]: >> how can I let read some special mail configs (e.g. set tw=72) when edit >> a email/news messages? > autocmd FileType mail set tw=72 nocin ai expandtab > (this is what I have) au BufNewFile,BufRead /tmp/mutt* source ~/.vim/mutt_vimrc (thi

Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Suresh Ramasubramanian
Using a large mallet, Christian R Molls whacked out: > Which leads to the question: why does syntax detection work on all > mails except that have been postponed and are recalled? Mutt uses a totally different naming syntax (apparently a random string - not mutt-hostname-foo) for postponed or re

Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Christian R Molls
* Johannes Zellner <[EMAIL PROTECTED]> [000731 11:50]: >> how can I let read some special mail configs (e.g. set tw=72) when edit >> a email/news messages? > autocmd FileType mail set tw=72 nocin ai expandtab > (this is what I have) au BufNewFile,BufRead /tmp/mutt* source ~/.vim/mutt_vimrc (thi

Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Johannes Zellner
On Mon, Jul 31, 2000 at 11:34:00AM +0200, Johannes Zellner wrote: > On Fri, Jul 28, 2000 at 04:41:48PM +0200, Kai Weber wrote: > > Hi, > > > > how can I let read some special mail configs (e.g. set tw=72) when edit > > a email/news messages? > > in your ~/.vimrc put something like > > autocmd F

Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Suresh Ramasubramanian
Using a large mallet, Kai Weber whacked out: > how can I let read some special mail configs (e.g. set tw=72) when edit > a email/news messages? Call vim sourcing a special vimrc for your mutt editing. -- Suresh Ramasubramanian + Lumber Cartel India - mallet @ cluestick.org + Wallopus Malletus

Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Johannes Zellner
On Fri, Jul 28, 2000 at 04:41:48PM +0200, Kai Weber wrote: > Hi, > > how can I let read some special mail configs (e.g. set tw=72) when edit > a email/news messages? in your ~/.vimrc put something like autocmd FileType mail set tw=72 nocin ai expandtab (this is what I have) you must have vim >