diff options
author | ralphe <boyo.ralph@protonmail.com> | 2018-03-19 08:05:28 +0100 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2018-03-19 09:02:56 -0700 |
commit | 8b2d268e64363b1ca1e9b89ef08890f1eeb6da7e (patch) | |
tree | 9d010acd4535f0f6fa2b1b353279c66713537ef0 /muttrc | |
parent | 6a2b7e914370598d7b2da667854f82e280fd4b26 (diff) |
sync email
Diffstat (limited to 'muttrc')
-rw-r--r-- | muttrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,10 @@ macro index,pager \Cu |urlview\n #Ctrl-R to mark all as read macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" +#sync email +macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail" +macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox" + # Notmuch searching macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' 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 A "<limit>all\n" "show all messages (undo limit)" |