.vim/ftplugin/mail.vim@91d4fb4e0a42
.vim/ftplugin/mail.vim
Wed, 10 Aug 2016 07:46:49 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Wed, 10 Aug 2016 07:46:49 -0400
- changeset 368
- 91d4fb4e0a42
- parent 361
-
7ab7173fb61f
- child 387
-
d16b5c66461a
- permissions
- -rw-r--r--
improve text editing experience?
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