macro index \ "unset wait_key~/bin/mutt-notmuch --prompt search -o ~/Maildir/mutt_results~/Maildir/mutt_results" \ "search mail (using notmuch)" macro index \ "unset wait_key~/bin/mutt-notmuch thread~/.cache/Maildir/set wait_key" \ "search and reconstruct owning thread (using notmuch)" macro attach A "/home/kellya/projects/public/mutt-filters/vcalendar-filter | /home/kellya/projects/public/khal/misc/mutt2khal" macro index t "mutt2task" # 'L' performs a notmuch query, showing only the results macro index L "unset wait_keyread -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"" "show only messages matching a notmuch pattern" # 'a' shows all messages again (supersedes default binding) macro index a "all\n" "show all messages (undo limit)" macro index \\\\ "" # looks up a hand made query macro index A "+archive -unread -inbox\\n" # tag as Archived macro index I "-inbox -unread\\n" # removed from inbox macro index S "-inbox -unread +junk\\n" # tag as Junk mail macro index + "+*\\n" # tag as starred macro index - "-*\\n" # tag as unstarred