]> git.phdru.name Git - dotfiles.git/commitdiff
.muttrc: Run `(un)auto_view text/html` in the attachment screen
authorOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2020 18:15:36 +0000 (21:15 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2020 18:15:36 +0000 (21:15 +0300)
.muttrc

diff --git a/.muttrc b/.muttrc
index 7b253edd3b7773cf4d3de5fc5f52e313a741ee8d..499a9e9a0496775dd6aab943f00a8cfbc20dc599 100644 (file)
--- a/.muttrc
+++ b/.muttrc
@@ -329,10 +329,10 @@ macro index,pager S \
    <save-message>!<Enter> \
    "Move current message to inbox"
 
-macro index,pager <Esc>h \
+macro index,pager,attach <Esc>h \
    ":auto_view text/html<Enter>" \
    "View HTML attachments"
-macro index,pager <Esc>H \
+macro index,pager,attach <Esc>H \
    ":unauto_view text/html<Enter>" \
    "Don't show HTML attachments"