cruxports/mblaze
2022-02-26 14:04:55 -05:00
..
.footprint added 60 ports 2022-02-05 15:39:19 -05:00
.signature added 60 ports 2022-02-05 15:39:19 -05:00
mailshow added 60 ports 2022-02-05 15:39:19 -05:00
mblaze-delete.patch added 60 ports 2022-02-05 15:39:19 -05:00
mblaze-fofl.patch added 60 ports 2022-02-05 15:39:19 -05:00
mdelete.1 added 60 ports 2022-02-05 15:39:19 -05:00
Pkgfile added 60 ports 2022-02-05 15:39:19 -05:00
README added 60 ports 2022-02-05 15:39:19 -05:00
replyfrom.patch added 60 ports 2022-02-05 15:39:19 -05:00
reuse-sent.patch added 60 ports 2022-02-05 15:39:19 -05:00

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()