.vim/ftplugin/mail.vim

Mon, 01 Aug 2016 12:20:04 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 01 Aug 2016 12:20:04 -0400
changeset 359
b3c85390852b
parent 352
a19225f9b247
child 361
7ab7173fb61f
permissions
-rw-r--r--

mv .mutt/build-neomutt bin/setup-neomutt


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