aboutsummaryrefslogtreecommitdiff
path: root/mutt/mailcap
diff options
context:
space:
mode:
Diffstat (limited to 'mutt/mailcap')
-rw-r--r--mutt/mailcap11
1 files changed, 11 insertions, 0 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
new file mode 100644
index 0000000..79e7716
--- /dev/null
+++ b/mutt/mailcap
@@ -0,0 +1,11 @@
+##this is used when (v)iewing a text/html attachment:
+##allowing you to browse and "click" links
+##order matters the first entry which passes the test is used
+#gui browser if $DISPLAY is set
+text/html; conkeror "%s" &; test=test -n "$DISPLAY"; nametemplate=%s.html
+#text browser otherwise
+text/html; w3m -v -F -T text/html "%s"; nametemplate=%s.html; needsterminal
+
+##auto_view will use the entry with the copiousoutput part:
+text/html; lynx -stdin -dump -force_html ; copiousoutput
+