diff options
author | neodarz <neodarz@neodarz.net> | 2017-09-13 18:42:55 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-09-13 18:42:55 +0200 |
commit | 53337fa913285ce1aabf23a6d00bb3ff79c2e41a (patch) | |
tree | 57e1db2a301a112bb39c4a3873f15f49e2f49e7a /mutt/.muttrc | |
parent | 31c214b1299b82444aff1c1d4f6d6f4f79706bda (diff) | |
download | dotfiles_ascii-53337fa913285ce1aabf23a6d00bb3ff79c2e41a.tar.xz dotfiles_ascii-53337fa913285ce1aabf23a6d00bb3ff79c2e41a.zip |
Add new mutt conf for read html mails
Diffstat (limited to 'mutt/.muttrc')
-rw-r--r-- | mutt/.muttrc | 16 |
1 files changed, 16 insertions, 0 deletions
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 <return> in attach view +bind attach <return> 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 "<pipe-message>htmail-decode<return>" "render html mail using htmail-view" |