diff --git a/muttrc b/muttrc index b5cfbb0..3516c88 100644 --- a/muttrc +++ b/muttrc @@ -92,6 +92,11 @@ folder-hook arch/* source ~/.mutt/arch.muttrc folder-hook gmail/* source ~/.mutt/gmail.muttrc folder-hook iactor/* source ~/.mutt/iactor.muttrc +# abook +set query_command = "abook --mutt-query '%s'" + # macros macro index I "!" "go to Inbox" macro index Z "/usr/bin/offlineimap -q -o" "sync IMAP" +macro generic,index,pager \ca "abook" "lanch abook" +macro index,pager A "abook --add-email" "add the sender address to abook"