# HG changeset patch # User Meredith Howard # Date 1473715788 14400 # Node ID d16b5c66461ae9993313f1df85952e8bff43f40c # Parent 203cb29dbc67fa86d7fb8c441e61d4b2a74e6f35 fix formatoptions and autorun 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