.vim/ftplugin/mail.vim

Sun, 24 Jul 2016 03:12:18 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 24 Jul 2016 03:12:18 -0400
changeset 353
8032fccc42d7
parent 352
a19225f9b247
child 361
7ab7173fb61f
permissions
-rw-r--r--

add tigrc


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