X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80dda625da425683a045c649d086197fdac91424..c6a7578f561da80240852e5a1465fc351c8cd75c:/.vim/after/ftplugin/mail.vim?ds=inline diff --git a/.vim/after/ftplugin/mail.vim b/.vim/after/ftplugin/mail.vim index 053758e..bc98dd5 100644 --- a/.vim/after/ftplugin/mail.vim +++ b/.vim/after/ftplugin/mail.vim @@ -6,6 +6,8 @@ setlocal formatoptions+=a setlocal formatoptions+=w setlocal formatoptions+=n +setlocal comments=n:> + "setlocal spell augroup tsperrorinsert @@ -127,14 +129,15 @@ augroup END nmap :w:%!mailplate --keep-unknown official nmap :w:%!mailplate --keep-unknown tahi -nmap :w:%!mailplate --keep-unknown pmvm +nmap :w:%!mailplate --keep-unknown kiwi nmap :w:%!mailplate --keep-unknown pobox -nmap :w:%!mailplate --keep-unknown debian -nmap :w:%!mailplate --keep-unknown debconf +nmap :w:%!mailplate --keep-unknown kbkg +nmap :w:%!mailplate --keep-unknown debian nmap :w:%!mailplate --keep-unknown uniwh nmap :w:%!mailplate --keep-unknown mtfk nmap :w:%!mailplate --keep-unknown sudetia -nmap :w:%!mailplate --keep-unknown private +nmap :w:%!mailplate --keep-unknown thorndonsquashtc +nmap :w:%!mailplate --keep-unknown default nmap :w:%!mailplate --auto --keep-unknown 2>/dev/null " change subject line @@ -192,3 +195,5 @@ fun! DelegateCompletion(next) return "\x10" endif endfun + +autocmd BufWritePost exe 'write ' . fnameescape((exists('$TMPDIR') ? expand('$TMPDIR') : '/tmp') . '/mail.backup.' . strftime('%Y-%m-%d-%H%M%S'))