summaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2022-04-24 17:31:17 -0400
committerlxf <sng@luxagraf.net>2022-04-24 17:31:17 -0400
commita52961c7208c9dbbaaa68c07a9d1b26a05eec551 (patch)
tree92440b96be767338d277170704b69319d47c722e /.mutt
parent548654e9f9582960189f7b51d47e0102e544f032 (diff)
added khard vdirsync configs and some other things
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/muttrc6
-rw-r--r--.mutt/personal29
2 files changed, 19 insertions, 16 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
diff --git a/.mutt/personal b/.mutt/personal
index e90d825..7ca7be4 100644
--- a/.mutt/personal
+++ b/.mutt/personal
@@ -15,20 +15,23 @@ mailboxes =INBOX \
+Archive \
+Work \
+Trash \
+ +Junk \
+Bookmarks \
- +Darktable \
+Sent \
- +'Old Mail.2008' \
- +'Old Mail.2009' \
- +'Old Mail.2010' \
- +'Old Mail.2011' \
- +'Old Mail.2012' \
- +'Old Mail.2013' \
- +'Old Mail.2014' \
- +'Old Mail.2015' \
- +'Old Mail.2016' \
- +'Old Mail.2017' \
- +'Old Mail.2018' \
- +'Old Mail.2019' \
+ +Starred \
+ +Old\ Mail/2008 \
+ +Old\ Mail/2009 \
+ +Old\ Mail/2010 \
+ +Old\ Mail/2011 \
+ +Old\ Mail/2012 \
+ +Old\ Mail/2013 \
+ +Old\ Mail/2014 \
+ +Old\ Mail/2015 \
+ +Old\ Mail/2016 \
+ +Old\ Mail/2017 \
+ +Old\ Mail/2018 \
+ +Old\ Mail/2019 \
+ +Old\ Mail/2020 \
+ +Old\ Mail/2021 \
+Drafts \
+temporary/search