* Ed Blackman <[email protected]> [2011-06-05 18:27:15 -0400]: > That works OK for a small number of settings, but can become hard to > manage. If vim filetype detection is enabled and working properly > (entering ":set filetype" in command mode in vim returns > "filetype=mail"), you can create $HOME/.vim/after/ftplugin/mail.vim and > enter mail-specific settings there. For instance, mine starts out like: > > syntax on > setlocal wrap > setlocal textwidth=72 > " do text=flowed wrapping > setlocal formatoptions+=w > " don't autoindent or smartindent, as that just adds weird spaces into the > " middle of flowed text paragraphs > setlocal noautoindent nosmartindent > > As you can see, you can take as much space as you want to make things > easy for your future self to understand why you're selecting certain > settings.
That's a great tip, and vim automatically picked the change up, I didn't have to do anything, (except fix some paste errors) except, vim isn't obeying tw=72, I'm still having to trim my mail to ~72 characters. -- > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon?
