[Techtalk] Vim, mutt, and terminals

Mary Gardiner linuxchix at puzzling.org
Tue Oct 2 07:56:00 EST 2001

On Mon, Oct 01, 2001 at 09:03:06PM +0100, Telsa Gwynne wrote:
> Sven Guckes' mutt and vimrc page has this on it:
>      	set editor=vim
>  You  can  supply some settings by starting vim with the "-c" option to
>  specify some commands. Example: Set the textwidth explicitly to "72":
>      	set editor="vim -c 'set tw=72'"

I'd suggest

set editor="vim -c 'set tw=72 expandtab'"

actually, because it is often a bad idea to include the tab character in
emails. expandtab will replace it with the tabwidth value (generally 8


Mary Gardiner
<mary at puzzling.org>

More information about the Techtalk mailing list