Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

some tweaks

  • Loading branch information...
1 parent 77bf451 commit 65004f041958790bc8b6bf8cdd4fb3b759c81908 @dlobraico committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 muttrc
5 muttrc
@@ -157,8 +157,9 @@ bind editor ^T complete
#bind pager N search-opposite
macro index a "<limit>all\n" "show all messages (undo limit)"
-# 'L' performs a notmuch query, showing only the results
-macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.mutt/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"
+# mu search:
+macro index "L" "<shell-escape>mu find --clearlinks --linksdir ~/Mail/mu-search --format links "
+macro index "gl" "<change-folder-readonly>~/Mail/mu-search\n" "display mu-find results""
# accounts
folder-hook +personal.* 'source $HOME/.mutt/accounts/personal.muttrc'

0 comments on commit 65004f0

Please sign in to comment.
Something went wrong with that request. Please try again.