.muttrc

changeset 846
2786ee9990c6
parent 704
7118c036f770
child 847
3d460b026be9
equal deleted inserted replaced
845:682c71a60aad 846:2786ee9990c6
95 macro attach,compose \Cb "<pipe-entry> urlscan<enter>" 'urlscan' 95 macro attach,compose \Cb "<pipe-entry> urlscan<enter>" 'urlscan'
96 96
97 # Turn a text/plain markdown part into text/html 97 # Turn a text/plain markdown part into text/html
98 macro compose \eh "F mutt-md2html \ny^T^Utext/html\n" 'htmlify' 98 macro compose \eh "F mutt-md2html \ny^T^Utext/html\n" 'htmlify'
99 99
100 # Turn a text/plain markdown part into proper multipart
101 macro compose \em \
102 "<enter-command>set pipe_decode<enter>\
103 <pipe-entry>~/bin/mutt-md2multipart /tmp/$hostname<enter>\
104 <enter-command>unset pipe-decode<enter>\
105 a^U/tmp/$hostname/msg.txt\n^Da^U/tmp/$hostname/msg.html\n^D^T^Utext/html; charset=utf-8\n\
106 =DTT&d^U\n" \
107 "multipartify"
108
109 shutdown-hook 'shell-escape rm -rf /tmp/$hostname'
110
100 push <first-entry> 111 push <first-entry>
101 112
102 # Appearance 113 # Appearance
103 set sort = reverse-threads 114 set sort = reverse-threads
104 set sort_aux = last-date 115 set sort_aux = last-date

mercurial