aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-05-08 11:31:42 +0800
committerGuangxiong Lin <[email protected]>2022-05-08 11:31:42 +0800
commit814f5b045c7b5f94249d0a7bc34427da0cbedb2a (patch)
tree1c62500bc7e809c4618ec6f9df9a94328df3bcf8
parent537dd3a1614fcbd3b7e1d3c5443340c603d7a9a4 (diff)
downloaddotfiles-814f5b045c7b5f94249d0a7bc34427da0cbedb2a.tar.gz
dotfiles-814f5b045c7b5f94249d0a7bc34427da0cbedb2a.tar.bz2
dotfiles-814f5b045c7b5f94249d0a7bc34427da0cbedb2a.zip
Update mutt html view config
-rw-r--r--.mutt/mailcap6
-rw-r--r--.mutt/muttrc1
2 files changed, 7 insertions, 0 deletions
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' '<change-folder>?<change-dir><home>^K=<enter>'
macro index,pager 's' '<save-message>?'