summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--muttrc5
1 files changed, 5 insertions, 0 deletions
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 "<change-folder>!<enter>" "go to Inbox"
macro index Z "<shell-escape>/usr/bin/offlineimap -q -o<enter>" "sync IMAP"
+macro generic,index,pager \ca "<shell-escape>abook<return>" "lanch abook"
+macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"