From 53337fa913285ce1aabf23a6d00bb3ff79c2e41a Mon Sep 17 00:00:00 2001 From: neodarz Date: Wed, 13 Sep 2017 18:42:55 +0200 Subject: Add new mutt conf for read html mails --- mutt/.muttrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'mutt/.muttrc') diff --git a/mutt/.muttrc b/mutt/.muttrc index 0b2dab7..1a23f62 100644 --- a/mutt/.muttrc +++ b/mutt/.muttrc @@ -107,3 +107,19 @@ mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" #color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text. #color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text. #color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text. + +# prefer plain text +alternative_order text/plain text/enriched text/html + +# auto convert text/html MIME type to text/plain +auto_view text/html + +# run viewer defined in mailcap by in attach view +bind attach view-mailcap + +# mailcap file to use (optional) +set mailcap_path="~/.mutt/mailcap" + + +# handover mail to htmail-view (works only for multipart mails containing text/html payload) +macro index,pager H "htmail-decode" "render html mail using htmail-view" -- cgit v1.2.1