Email Vim

Vim als E-mail-Editor in der Mutt-Konfiguration einstellen

set editor="vim -u ~/.vimrc.mutt -c 'set tw=65'"

Einige Einstellungen für eine spezielle vim-Konfigurationsdatei

> I don't know where it came from originally, but this $editor setting in
> my muttrc seems to do it all:
> 
> # <F10> reflows the current paragraph and <F11> toggles indenting so
> # paste works properly.
> set editor="vim \
>     -c 'set tw=72 et' \
>     -c 'set autoindent' \
>     -c 'set formatoptions=tcq2' \
>     -c 'set syntax=mail' \
>     -c 'map <F10> gqap' \
>     -c 'set pastetoggle=<F11>'"
> 
> In a similar vein, this $ispell works quite well for me too:
> 
> # spell colour properly and ignore quoted text
> set ispell='aspell \
>     --language-tag=en_GB \
>     --mode=email \
>     --add-email-quote=%,#,:,} \
>     --check'