From: Samir Benmendil Date: Mon, 18 Jul 2022 11:21:55 +0000 (+0100) Subject: mutt: use khard for mailfence contacts X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/ddfc9a134b800510fd37a3a6673ffd187fb01e7f mutt: use khard for mailfence contacts --- diff --git a/mutt/accounts/mailfence b/mutt/accounts/mailfence index 5e54663..aedd516 100644 --- a/mutt/accounts/mailfence +++ b/mutt/accounts/mailfence @@ -11,9 +11,10 @@ set trash = "+mailfence/trash" # deleted messages go here set mbox = "+mailfence/archive" unset move # do not move read msgs, we archive them after 3 months -# goobook -#TODO -# set query_command = "goobook query '%s'" +# contacts +set query_command = "khard email --parsable '%s'" +# add sender to khard +macro index,pager a "khard add-email" "add the sender address to khard" mailboxes "+mailfence/inbox" mailboxes "+mailfence/sent" diff --git a/mutt/bindings b/mutt/bindings index 7839f6e..469977b 100644 --- a/mutt/bindings +++ b/mutt/bindings @@ -49,8 +49,5 @@ bind index collapse-thread # open mailcap in attach view bind attach view-mailcap -# add sender to goobook -macro index,pager a "goobook add" "add the sender address to goobook" - macro index,pager 'source $my_config_dir/accounts/mailfence!' macro index,pager 'source $my_config_dir/accounts/fpp!'