From 24c5768d6d0cf52f3a550e4cca93097b3d7ce607 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 7 Apr 2016 07:34:39 +0300 Subject: [PATCH] .muttrc: add descriptions to macros --- .muttrc | 58 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 19 deletions(-) diff --git a/.muttrc b/.muttrc index f5647c0..e119315 100644 --- a/.muttrc +++ b/.muttrc @@ -283,39 +283,59 @@ bind index,pager S decode-save # Macros # -# Go to the first folder with unread messages -macro index,pager C +macro index,pager C \ + \ + "Go to the first folder with unread messages" -# Move current message to inbox -macro index,pager S ! +macro index,pager S \ + ! \ + "Move current message to inbox" -macro index,pager h ":auto_view text/html" -macro index,pager H ":unauto_view text/html" +macro index,pager h \ + ":auto_view text/html" \ + "View HTML attachments" +macro index,pager H \ + ":unauto_view text/html" \ + "Don't show HTML attachments" -# Pipe spam macro index,pager s \ - "spamassassin -d | ~/mail/bin/spamcop.py" + "spamassassin -d | ~/mail/bin/spamcop.py" \ + "Send spam to SpamCop" macro index,pager z \ - ":set editor='vim -s ~/mail/misc/spamcop.vim':set editor=vim.shn" + ":set editor='vim -s ~/mail/misc/spamcop.vim':set editor=vim.shn" \ + "Process message from SpamCop" -# Go to main mailboxes -macro index,pager H ! -macro index,pager M =sent-mail +macro index,pager H \ + ! \ + "Go to inbox" +macro index,pager M \ + =sent-mail \ + "Go to sent-mail" # Go to python mailbox -macro index,pager Y =lists/python +macro index,pager Y \ + =lists/python \ + "Go to python" # Go to STCnet "Atlas"/STM mailboxes -macro index,pager A =stcnet -macro index,pager a =sent-stcnet +macro index,pager A \ + =stcnet \ + "Go to stcnet inbox" +macro index,pager a \ + =sent-stcnet \ + "Go to sent-stcnet" # Recode base64 to 8bit, html to plain text, mustdie-1251 to koi8-r, etc. -macro index,pager m "mimedecode.py | less" +macro index,pager \ + m "mimedecode.py | less" \ + "View MIME-decoded message" macro index,pager E \ - ":set editor=mimedecode.sh:set editor=vim.sh" + ":set editor=mimedecode.sh:set editor=vim.sh" \ + "MIME-decode and save" -# Convert X-Face header to an image and display it -macro index,pager f ~/mail/bin/view-x-face +macro index,pager f \ + ~/mail/bin/view-x-face \ + "Convert X-Face header to an image and display it" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # -- 2.39.5