Added abook integration

This commit is contained in:
Tom Willemsen 2011-02-21 00:44:12 +01:00
parent 62f897fdf5
commit dc6aac4e61

5
muttrc
View file

@ -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"