diff --git a/.vim/ftplugin/mail.vim b/.vim/ftplugin/mail.vim --- a/.vim/ftplugin/mail.vim +++ b/.vim/ftplugin/mail.vim @@ -1,19 +1,13 @@ +setl textwidth=72 +setl formatoptions=jaw12tcql +setl spell -function! JumpAndInsert() - if line('$') > 1 - :0 - :/^$/ - :normal 2] - :+1 - :exe 'startinsert' - endif -endfunction +" Get right to composing the body: +if line('$') > 1 + :0 + :/^$/ + :normal 2] + :+1 + :exe 'startinsert' +endif -augroup mail_filetype - autocmd! - autocmd BufReadPost mutt-* :call JumpAndInsert() -augroup END - -setl textwidth=72 -setl formatoptions+=awt12 -setl spell