summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--by_os/Linux/mutt/.mutt/mailcap3
-rw-r--r--mutt/.mutt/muttrc5
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