[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vi linewrap question



On Sat, Jan 01, 2000 at 09:24:34AM +0000, Colin Watson wrote:
> Like the man says - or else, rather than hacking your ~/.muttrc, do as I
> do and take advantage of vim's ability to recognize filetypes. Put the
> following in your ~/.vimrc:
> 
> syntax on
> 
> augroup myauto
> 	au!
> 	au FileType mail	set textwidth=72
> augroup END
> 
> This will work for anything vim recognizes as mail, which includes mutt
> temporary files, so you don't need to do anything special to mutt to get
> this to work.
> 

Thanks for the suggestion! I didn't realize VIM knew of a file-type
called ``mail''.  Much cleaner to do all configs in one place!
-- 
+----------------------------------------------------+
| Eric G. Miller                        egm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
+----------------------------------------------------+


Reply to: