aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-05-08 16:23:20 +0200
committerneodarz <neodarz@neodarz.net>2018-05-08 16:23:20 +0200
commit76e876e268a9460db53bf2e334ee9d9264570dff (patch)
tree58d01e42c7da672c0c1087298cae64bd7122252a
parentdac1f18394a3a9f1c9e0e26242a4a640534c3a1e (diff)
downloaddotfiles_ascii-76e876e268a9460db53bf2e334ee9d9264570dff.tar.xz
dotfiles_ascii-76e876e268a9460db53bf2e334ee9d9264570dff.zip
Update mutt conf
Diffstat (limited to '')
-rw-r--r--mutt/.muttrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/mutt/.muttrc b/mutt/.muttrc
index 9dfa2c3..400963e 100644
--- a/mutt/.muttrc
+++ b/mutt/.muttrc
@@ -8,7 +8,7 @@ set header_cache = ~/.cache/mutt
set message_cachedir = "~/.cache/mutt"
set sidebar_visible = yes
-set editor="vim + -c 'set ft=mail tw=80' -c ':0/^$'"
+set editor="nvim + -c 'set ft=mail tw=80' -c ':0/^$'"
set sort=threads
###
@@ -136,3 +136,11 @@ virtual-mailboxes "Inbox" "notmuch://?query=tag:inbox"
# Default account
source ~/.mutt/account.net.neodarz.neodarz
+set query_command= "khard email --parsable --search-in-source-files '%s'"
+bind editor <Tab> complete-query
+bind editor ^T complete
+
+macro index,pager A \
+ "<pipe-message>khard add-email<return>" \
+ "add the sender email address to khard"
+