diff --git a/mutt/common b/mutt/common index 87fde58..4b99e3a 100644 --- a/mutt/common +++ b/mutt/common @@ -14,10 +14,14 @@ set sort = threads set beep_new = yes macro pager \cu 'urlview' 'Follow links with urlview' -macro attach w 'pipefox' 'Send attachment to firefox' +macro attach o 'pipe xdg-open' 'Open attachment with associated application' color index default default ~N color index default default ~O color index default default ~F color index default default ~T color index default default ~D + +set mailcap_path = ~/.mutt/mailcap +auto_view text/html +alternative_order text/plain text/html diff --git a/mutt/mailcap b/mutt/mailcap new file mode 100644 index 0000000..88351f4 --- /dev/null +++ b/mutt/mailcap @@ -0,0 +1,8 @@ +application; default-open %t %s; copiousoutput +audio; default-open %t %s; copiousoutput +image; default-open %t %s; copiousoutput +misc; default-open %t %s; copiousoutput +text; default-open %t %s; copiousoutput +video; default-open %t %s; copiousoutput +x-content; default-open %t %s; copiousoutput +x-scheme-handler; default-open %t %s; copiousoutput