#index 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 index,browser,pager t "/home/kellya/projects/arachnitech/mutt2tw/mutt2tw.py" "A" # '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) ### Nutmuch stuff macro index a "all\n" "show all messages (undo limit)" macro index \\\\ "" # looks up a hand made query 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 #### end notmuch stuff #Attachments macro attach A "/home/kellya/projects/public/mutt-filters/vcalendar-filter | /home/kellya/projects/public/khal/misc/mutt2khal" # Archive # macro index A ":set confirmappend=no delete=yes\n=archive\n:set confirmappend=no delete=yes\n+archive -unread -inbox\\n" bind index,browser,pager . noop macro index .cp 'source ~/.mutt/accounts/arachnitech~/Maildir/arachnitech/INBOX/' macro index .cc 'source ~/.mutt/accounts/franklin~/Maildir/franklin/INBOX/' #macro pager .ob 'urlview' 'Follow links with urlview' macro index,pager .ob " urlscan" "call urlscan to extract URLs out of a message"