bin/exx: +xpi
[nethome.git] / .muttrc.addons
index 4f9a813..0a795bf 100644 (file)
@@ -61,12 +61,19 @@ macro pager <Esc>f ":set pager_index_lines=0\n
 macro pager <Esc>g ":set pager_index_lines=10\n"
 set user_agent
 
+# https://unix.stackexchange.com/a/42714/296319
+auto_view text/html                                   # view html automatically
+alternative_order text/plain text/enriched text/html  # save html for last
+bind attach <return>    view-mailcap
 
 # Mail command
 ##############
 bind index \ca mail
 macro index M ":set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN compose of a new mail message"
 macro index m ":unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
+bind index \cb reply
+macro index R ":set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^b" "DSN compose of a reply"
+macro index r ":unset dsn_return dsn_notify\n^b" "Standard compose of a reply"
 # quote 'macro' argument to prevent: macro: too many arguments
 # `spamassassin {--report|--revoke}' calls `sa-learn {--spam|--ham}' automatically.
 set pipe_split