commit fb5034a186493aa1f6d2b23d8a0a4b05d21eeafb
parent 7ab4289350d358e0ee355442e48b8d327c3bd757
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 24 Mar 2016 21:57:06 -0700
add bindings for next mailbox with new mails (Y) and add sender alias (a)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc
@@ -152,6 +152,8 @@ set query_command= "abook --mutt-query '%s'"
#macro index,pager a "<pipe-message>abook --add-email-quiet<return>" "add the
#sender address to abook"
macro index,pager A "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" "Edit aliases file and reload it"
+macro pager a "<create-alias><enter>" "create an alias from the message sender"
+macro index Y "<next-unread-mailbox><enter>" "create an alias from the message sender"
# Sync email
macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"