From: Oleg Broytman Date: Wed, 31 Mar 2021 17:19:42 +0000 (+0300) Subject: .muttrc: View the 1st html attachment from index or pager X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d7a661401f8053c524e8c1f388c633fdb1fb1387;p=dotfiles.git .muttrc: View the 1st html attachment from index or pager --- diff --git a/.muttrc b/.muttrc index c5ff077..c4c4fc9 100644 --- a/.muttrc +++ b/.muttrc @@ -362,7 +362,12 @@ macro pager,attach M \ =sent-mail \ "Go to sent-mail" -macro attach V "~/tmp/_xxx.htmlwebbrowser -n ~/tmp/_xxx.html; exec rm ~/tmp/_xxx.html" \ +macro index,pager \cV "" \ + "Show version" + +macro index,pager V "v/text/htmlV" \ + "View the 1st html attachment in a web browser" +macro attach V "~/tmp/_xxx.htmlwebbrowser -n ~/tmp/_xxx.html; exec rm ~/tmp/_xxx.html" \ "View html attachment in a web browser" # Go to python mailbox