.vim/ftplugin/mail.vim@31081755a2be
.vim/ftplugin/mail.vim
Fri, 15 Jul 2016 23:49:26 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 15 Jul 2016 23:49:26 -0400
- changeset 350
- 31081755a2be
- parent 349
-
976c8bf0499b
- child 351
-
47b0510974fe
- permissions
- -rw-r--r--
fix wrap at 100
function IsReply()
if line('$') > 1
:/^$/
:noh
:+1
endif
endfunction
augroup mail_filetype
autocmd!
autocmd VimEnter /tmp/mutt* :call IsReply()
autocmd VimEnter /tmp/mutt* :exe 'startinsert'
augroup END
setl textwidth=72
setl formatoptions=awn
setl spell