.vim/ftplugin/mail.vim

Thu, 28 Jul 2016 23:49:00 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 28 Jul 2016 23:49:00 -0400
changeset 357
809a691bfa2e
parent 352
a19225f9b247
child 361
7ab7173fb61f
permissions
-rw-r--r--

add .hgext/


function JumpAndInsert()
  if line('$') > 1
    :/^$/
    :normal 2] 
    :+1
    :exe 'startinsert'
  endif
endfunction

augroup mail_filetype
  autocmd!
  autocmd VimEnter /tmp/mutt* :call JumpAndInsert()
augroup END

setl textwidth=72
setl formatoptions=aw
setl spell

mercurial