]> git.phdru.name Git - dotfiles.git/blobdiff - .muttrc
.muttrc: Fix viewing html attachment
[dotfiles.git] / .muttrc
diff --git a/.muttrc b/.muttrc
index 7b253edd3b7773cf4d3de5fc5f52e313a741ee8d..ca6edf2093e9797131c2d5fd250628e001f0ff7d 100644 (file)
--- a/.muttrc
+++ b/.muttrc
@@ -329,11 +329,11 @@ macro index,pager S \
    <save-message>!<Enter> \
    "Move current message to inbox"
 
-macro index,pager <Esc>h \
-   ":auto_view text/html<Enter>" \
+macro index,pager,attach <Esc>h \
+   ":auto_view texxt/html<Enter>" \
    "View HTML attachments"
-macro index,pager <Esc>H \
-   ":unauto_view text/html<Enter>" \
+macro index,pager,attach <Esc>H \
+   ":unauto_view texxt/html<Enter>" \
    "Don't show HTML attachments"
 
 macro index <Esc>s \
@@ -362,7 +362,7 @@ macro pager,attach M \
    <exit><Home><change-folder>=sent-mail<Enter> \
    "Go to sent-mail"
 
-macro attach V "<pipe-message>webstdin<Enter>" \
+macro attach V "<save-entry>_xxxxxx.html<Enter><shell-escape>webbrowser -n _xxxxxx.html; exxec rm _xxxxxx.html<Enter>" \
    "View html attachment in a web browser"
 
 # Go to python mailbox