From 814f5b045c7b5f94249d0a7bc34427da0cbedb2a Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 8 May 2022 11:31:42 +0800 Subject: Update mutt html view config --- .mutt/mailcap | 6 ++++++ .mutt/muttrc | 1 + 2 files changed, 7 insertions(+) diff --git a/.mutt/mailcap b/.mutt/mailcap index 51d7e68..bf96c10 100644 --- a/.mutt/mailcap +++ b/.mutt/mailcap @@ -1,2 +1,8 @@ +text/html;\ + firefox --new-tab %s;\ + test=test -n "$DISPLAY";\ + nametemplate=%s.html;\ + needsterminal; + text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput diff --git a/.mutt/muttrc b/.mutt/muttrc index 83c895b..47c4ccb 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -22,6 +22,7 @@ set move=no # Don't move read mail to archive set use_from=yes auto_view text/html +alternative_order text/plain text/html macro index 'c' '?^K=' macro index,pager 's' '?' -- cgit v1.2.3