You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
10 months ago | |
---|---|---|
.. | ||
.footprint | 1 year ago | |
.signature | 10 months ago | |
Pkgfile | 10 months ago | |
README | 1 year ago | |
mailshow | 1 year ago | |
mblaze-delete.patch | 11 months ago | |
mblaze-fofl.patch | 11 months ago | |
mdelete.1 | 1 year ago | |
reuse-sent.patch | 10 months ago |
README
If you use the patched mmime to generate format=flowed emails, the
following code added to ~/.vimrc will give you a quick visual check that
the trailing whitespace is in the right place. Adjust the last two
autocommands if you configured a different maildir for drafts of outgoing
messages.
function! FixIndented()
" remove spaces at end of indented lines
silent! %s/^\s.*\zs \+$//
endfunction
function! TextFlowed()
setl tw=72
setl fo+=w
setl nojs
setl nosmartindent
setl list
set listchars=trail:•
endfunction
autocmd BufRead,BufNewFile */sent/cur/* call TextFlowed()
autocmd BufRead,BufWritePre */sent/cur/* call FixIndented()