]> git.rmz.io Git - dotfiles.git/commitdiff
mutt: use khard for mailfence contacts
authorSamir Benmendil <me@rmz.io>
Mon, 18 Jul 2022 11:21:55 +0000 (12:21 +0100)
committerSamir Benmendil <me@rmz.io>
Mon, 18 Jul 2022 11:56:13 +0000 (12:56 +0100)
mutt/accounts/mailfence
mutt/bindings

index 5e54663ff9bbd46232690954f3a53764efe7c8d5..aedd516a01fc28f95deeea19687ab06e211b7d6b 100644 (file)
@@ -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 "<pipe-message>khard add-email<return>" "add the sender address to khard"
 
 mailboxes "+mailfence/inbox"
 mailboxes "+mailfence/sent"
index 7839f6e927e2d6044f66a564f4ca8693ecf04d8f..469977b1e694b57d827db66071bf0c25ac07b557 100644 (file)
@@ -49,8 +49,5 @@ bind index <space> collapse-thread
 # open mailcap in attach view
 bind attach <return>    view-mailcap
 
-# add sender to goobook
-macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to goobook"
-
 macro index,pager <f2> '<sync-mailbox><enter-command>source $my_config_dir/accounts/mailfence<enter><change-folder>!<enter>'
 macro index,pager <f3> '<sync-mailbox><enter-command>source $my_config_dir/accounts/fpp<enter><change-folder>!<enter>'