diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-08-06 08:15:01 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-08-06 08:15:01 -0400 |
commit | 681b74aa921208208b9caa98156bfc673dc8085e (patch) | |
tree | 0c771438cbebd9893b36a05d8b5cd65df7c5acaa /share/mutt-wizard.muttrc | |
parent | c7a042d9ff1653e1cb9569d409be85395c6d5c07 (diff) | |
parent | 48f61faef7bb7eecc525e410f9ba699652f9ad4d (diff) |
Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizard
Diffstat (limited to 'share/mutt-wizard.muttrc')
-rw-r--r-- | share/mutt-wizard.muttrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index 52dc9b5..ad4d2fe 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -21,6 +21,7 @@ set forward_format = "Fwd: %s" # format of subject when forwarding set forward_quote # include message in forwards set reverse_name # reply as whomever it was to set include # include message in replies +set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example) auto_view text/html # automatically show html (mailcap uses w3m) auto_view application/pgp-encrypted alternative_order text/plain text/enriched text/html @@ -62,7 +63,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 |