diff options
author | A. Tammy <epsilon-0@users.noreply.github.com> | 2020-09-06 15:58:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 15:58:53 -0400 |
commit | 032077adf6a7f7d56b48df5c4f879b207155dd55 (patch) | |
tree | 167fa3c36fe932bf3697b18ad4adfc4849d0f03e /share/mutt-wizard.muttrc | |
parent | 289533279b21f0fc6ecbdf03ebde2a67741e3ded (diff) |
fix notmuch integration caller command (#520)
Co-authored-by: Aisha Tammy <aisha@aisha.cc>
Diffstat (limited to 'share/mutt-wizard.muttrc')
-rw-r--r-- | share/mutt-wizard.muttrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index e7fa8c8..c3dae24 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -71,7 +71,7 @@ bind editor <Tab> complete-query macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address 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>mbsync -a<enter>" "run mbsync 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=<>;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 \Cf "<enter-command>unset wait_key<enter><shell-escape>read x?'Enter a search term to find with notmuch: '; 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 |