cruxports/mblaze
2022-06-13 09:34:36 -04:00
..
.footprint added 60 ports 2022-02-05 15:39:19 -05:00
.signature mblaze: remove the 'Packager' line 2022-06-13 09:34:36 -04:00
mailshow added 60 ports 2022-02-05 15:39:19 -05:00
mblaze-delete.patch mblaze: version bump 2022-05-12 11:16:20 -04:00
mblaze-fofl.patch mblaze: version bump 2022-05-12 11:16:20 -04:00
mdelete.1 added 60 ports 2022-02-05 15:39:19 -05:00
Pkgfile mblaze: remove the 'Packager' line 2022-06-13 09:34:36 -04:00
README added 60 ports 2022-02-05 15:39:19 -05:00
reuse-sent.patch mblaze: remove the 'Packager' line 2022-06-13 09:34:36 -04: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()