]> git.phdru.name Git - dotfiles.git/blobdiff - .muttrc
.muttrc: Work around a very strange bug in my `mutt`
[dotfiles.git] / .muttrc
diff --git a/.muttrc b/.muttrc
index 06a9601429031a125182e889dd996839f377e3f4..051a41216ee77fe2a8e921942cf5711f582ced74 100644 (file)
--- a/.muttrc
+++ b/.muttrc
@@ -299,6 +299,8 @@ bind index,pager <Esc>S decode-save
 # Macros
 #
 
+# KP_Enter -> Enter
+#macro generic,pager,editor <F79> <Enter>
 # KP_Home -> Home
 macro generic,pager,editor <F84> <Home>
 # KP_Up -> Up
@@ -327,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 \
@@ -360,6 +362,9 @@ macro pager,attach M \
    <exit><Home><change-folder>=sent-mail<Enter> \
    "Go to sent-mail"
 
+macro attach V "<pipe-message>webstdin<Enter>" \
+   "View html attachment in a web browser"
+
 # Go to python mailbox
 macro index Y \
    <Home><change-folder>=lists/python<Enter> \
@@ -368,20 +373,6 @@ macro pager,attach Y \
    <exit><Home><change-folder>=lists/python<Enter> \
    "Go to python"
 
-# Go to STCnet "Atlas"/STM mailboxes
-macro index \ca \
-   <Home><change-folder>=stcnet<Enter> \
-   "Go to stcnet inbox"
-macro pager,attach \ca \
-   <exit><Home><change-folder>=stcnet<Enter> \
-   "Go to stcnet inbox"
-macro index A \
-   <Home><change-folder>=sent-stcnet<Enter> \
-   "Go to sent-stcnet"
-macro pager,attach A \
-   <exit><Home><change-folder>=sent-stcnet<Enter> \
-   "Go to sent-stcnet"
-
 # Recode base64 to 8bit, html to plain text, mustdie-1251 to koi8-r, etc.
 macro index,pager \
    <Esc>m "<pipe-message>mimedecode | less<Enter>" \