.vim/ftplugin/mail.vim

Wed, 31 Aug 2016 16:24:17 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 31 Aug 2016 16:24:17 -0400
changeset 381
b09db2db7f84
parent 368
91d4fb4e0a42
child 387
d16b5c66461a
permissions
-rw-r--r--

use ruby and nodejs plugins for asdf


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

mercurial