X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5d2073d11c96de3eafea168488684aed93daee4d..d52a99537b7f65b0f4f5bb4d6df8bf14bae025d6:/.vim/ftplugin/mail.vim diff --git a/.vim/ftplugin/mail.vim b/.vim/ftplugin/mail.vim index b5d239b..f4e7851 100644 --- a/.vim/ftplugin/mail.vim +++ b/.vim/ftplugin/mail.vim @@ -1,7 +1,8 @@ nmap :w:%!~/.bin/mail/mailplate --keep-unknown official nmap :w:%!~/.bin/mail/mailplate --keep-unknown private nmap :w:%!~/.bin/mail/mailplate --keep-unknown debian -nmap :w:%!~/.bin/mail/mailplate --keep-unknown ul +nmap :w:%!~/.bin/mail/mailplate --keep-unknown ul +nmap :w:%!~/.bin/mail/mailplate --keep-unknown uzh nmap :w:%!~/.bin/mail/mailplate --keep-unknown sudetia nmap :w:%!~/.bin/mail/mailplate --auto --keep-unknown 2>/dev/null @@ -15,7 +16,7 @@ autocmd BufUnload mutt-* call CheckAttachments() function! CheckAttachments() let l:english = 'attach\(ing\|ed\|ment\)\?\|included with this mail' let l:french = 'attach\(e\|er\|ée\?s\?\|ement\|ant\)' - let l:german = 'an\(gehängt\|hängsel\)\|bei\(gefügt|lage\)\|\(im\|siehe\)\_sanhang' + let l:german = 'an\(gehängt\|hängsel\|bei\)\|bei\(gefügt|lage\)\|\(im\|siehe\)\_sanhang' let l:ic = &ignorecase if (l:ic == 0) set ignorecase @@ -40,4 +41,4 @@ map ns 1G/^Subject: /:s,\(Subject: \)\(Re: \)*\(.*\)$,\1 (was: \3),< " Before: Subject: New (was: old) " After : Subject: New " http://strcat.de/wiki/dotfiles#vim -map ;dw 1G/^Subject: /:s, *(was: .*)$:set nohlsf l +map dw 1G/^Subject: /:s, *(was: .*)$:set nohlsf l