commit 9bf14ced7c55946769fa069a807c093dc0142857
parent cd76c4a51ce02817327235fd5f7c872f5fe2a348
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date: Mon, 1 Feb 2021 16:34:32 -0500
Add contacts to Google from mutt
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.config/mutt/my-configs b/.config/mutt/my-configs
@@ -3,9 +3,12 @@
# source $HOME/.config/mutt/my-configs
# GOOBOOK:
-# goobook let's you query google for contact information.
+# goobook let's you use google contacts information.
# You install it with pip: pip install --user goobook
+# Query emails
set query_command="goobook query %s"
+# Add email to contacts
+macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to Google contacts"
# Note that if you use an old version of mutt-wizard,
# you will need to disable abook in it's script:
# sed -i "s/^set\squery_command.*$//" /usr/share/mutt-wizard/mutt-wizard.muttrc