diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-10-27 19:21:14 +0200 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-10-27 19:21:14 +0200 |
commit | 9f77c39f59a51bd5cad1bb0e1a8f04eb2c4e5dc1 (patch) | |
tree | 3f97d99d67dce0727cf9ea6469166f318bc3ce35 | |
parent | 6b644efd3ae3e997836ac1229015d57ab82b1489 (diff) |
mutt: view html mails in browser
-rw-r--r-- | by_os/Linux/mutt/.mutt/mailcap | 3 | ||||
-rw-r--r-- | mutt/.mutt/muttrc | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/by_os/Linux/mutt/.mutt/mailcap b/by_os/Linux/mutt/.mutt/mailcap index 8aaaa7e..ae71a18 100644 --- a/by_os/Linux/mutt/.mutt/mailcap +++ b/by_os/Linux/mutt/.mutt/mailcap @@ -1,4 +1,4 @@ -text/html; firefox %s &>/dev/null; test=test -n "$DISPLAY"; needsterminal +text/html; browser -new-tab %s &>/dev/null & sleep 1; test=test -n "$DISPLAY"; needsterminal text/html; w3m -I %{charset} -O utf-8 -T text/html -dump %s; copiousoutput text/plain; less %s application/x-pdf; zathura %s @@ -8,3 +8,4 @@ image/jpeg; feh %s image/pjpeg; feh %s image/png; feh %s image/gif; feh %s + diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 454f5b0..4df31c3 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -56,6 +56,11 @@ macro index , "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch-py # status bar set status_chars = " *%A" +# html +auto_view text/html +alternative_order text/plain text/enriched text/html +bind attach <return> view-mailcap + # sidebar bind index,pager <down> sidebar-next bind index,pager <up> sidebar-prev |