Re: OT: vim syntax highlight on C program files only?
Just a thought and matter of taste, but...
For file like *.c, I understand use of auto command to set some
settings. But for editing mail, I thought activating proper vim mode by
the MUA configuration file may be more straight forward.
For example, my ~/.muttrc or /etc/Muttrc has followng:
set editor="vim -c 'set tw=72 et ft=mail'"
just an alternative, ciao, :-)
On Mon, Aug 27, 2001 at 08:01:35PM -0700, Rob Hudson wrote:
> I found stuff like this before and have been using it:
>
> " When using mutt or slrn, text width=72
> autocmd BufRead mutt*[0-9] set tw=72
> autocmd BufRead .followup,.article,.letter set tw=72
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://www.aokiconsulting.com/quick/ +
Reply to: