summaryrefslogtreecommitdiff
path: root/.mutt/muttrc
diff options
context:
space:
mode:
Diffstat (limited to '.mutt/muttrc')
-rw-r--r--.mutt/muttrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.mutt/muttrc b/.mutt/muttrc
index b110401..5e99e79 100644
--- a/.mutt/muttrc
+++ b/.mutt/muttrc
@@ -63,7 +63,7 @@ bind index <space> collapse-thread
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
# Sync email
-macro index O "<shell-escape>mbsync personal<enter>" "run mbsync to sync all mail"
+macro index O "<shell-escape>mbsync personal<enter> <shell-escape>notmuch new<enter>" "run mbsync to sync all mail"
macro index o "<shell-escape>mbsync personal:INBOX<enter>" "run mbsync to sync inbox"
# Saner copy/move dialogs
@@ -141,7 +141,7 @@ bind compose p postpone-message
bind index p recall-message
#set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'"
-set query_command = "abook --mutt-query '%s'"
+set query_command = "khard email --parsable %s"
bind editor <Tab> complete-query
bind editor ^T complete
set editor="nvim -c 'set spell spelllang=en'"
@@ -155,7 +155,7 @@ macro index S "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --
macro index <F9> "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set wait_key<enter>" "notmuch: reconstruct thread"
#macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
-macro index,pager A "<pipe-message>abook --add-email<return>" "add the sender address to abook"
+macro index,pager A "<pipe-message>khard add-email<return>" "add the sender email address to khard"
set spoolfile = "+INBOX"
source ~/.mutt/personal