.vim/ftplugin/mail.vim@e3c8e2bdfccf
.vim/ftplugin/mail.vim
Sat, 03 Sep 2016 22:28:31 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sat, 03 Sep 2016 22:28:31 -0400
- changeset 385
- e3c8e2bdfccf
- parent 368
-
91d4fb4e0a42
- child 387
-
d16b5c66461a
- permissions
- -rw-r--r--
Make sure root color gets set right
function! JumpAndInsert()
if line('$') > 1
:0
:/^$/
:normal 2]
:+1
:exe 'startinsert'
endif
endfunction
augroup mail_filetype
autocmd!
autocmd BufReadPost mutt-* :call JumpAndInsert()
augroup END
setl textwidth=72
setl formatoptions+=awt12
setl spell