summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Vlasiuk <oleksandr.vlasiuk@gmail.com>2019-06-06 19:53:58 +0300
committerLuke Smith <luke@lukesmith.xyz>2019-06-06 12:53:58 -0400
commit9738316ab5e9a39dd31ea891f34a2409c711216c (patch)
tree4c0bad86d09bf14507f511a231b038e1dbbe49b9
parent069d8eeb016d9d22286b67ea19a59132a038ff72 (diff)
Handle + in notmuch queries (#233)
-rw-r--r--share/mutt-wizard.muttrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc
index c8b7b59..a6a19f3 100644
--- a/share/mutt-wizard.muttrc
+++ b/share/mutt-wizard.muttrc
@@ -61,7 +61,7 @@ bind editor <Tab> complete-query
macro index,pager a "|abook --add-email\n" 'add sender to abook'
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
macro index O "<shell-escape>mailsync -Va<enter>" "run offlineimap to sync all mail"
-macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern"
+macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"
macro index A "<limit>all\n" "show all messages (undo limit)"
# Sidebar mappings