dont wait after urlscan, add htmlify macro

Thu, 04 Aug 2016 13:51:33 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 04 Aug 2016 13:51:33 -0400
changeset 365
b3ab12e8a598
parent 364
dc8ef0de424d
child 366
8d2d058ea98b

dont wait after urlscan, add htmlify macro

.muttrc file | annotate | diff | comparison | revisions
--- a/.muttrc
+++ b/.muttrc
@@ -30,6 +30,7 @@ set autoedit        = yes
 set edit_headers    = yes
 set editor          = "exec vim"
 set strict_threads  = yes
+set wait_key        = no
 
 set text_flowed     = yes
 set reverse_name    = yes
@@ -73,6 +74,9 @@ bind pager l list-reply
 macro index,pager    \Cb "<pipe-message> urlscan<enter>" 'urlscan'
 macro attach,compose \Cb "<pipe-entry> urlscan<enter>" 'urlscan'
 
+# Turn a text/plain markdown part into text/html
+macro compose \eh "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=us-ascii\n" 'htmlify'
+
 push <first-entry>
 
 # Appearance

mercurial