From d7a661401f8053c524e8c1f388c633fdb1fb1387 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 31 Mar 2021 20:19:42 +0300 Subject: [PATCH] .muttrc: View the 1st html attachment from index or pager --- .muttrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.2