浏览代码

Ctrl-R to mark all as read

pull/44/head
ralphe 6 年前
父节点
当前提交
ee68970941
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      muttrc

+ 3
- 0
muttrc 查看文件

@@ -43,6 +43,9 @@ bind index,pager R group-reply
macro index,pager S '<sync-mailbox>
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"

# 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)"


正在加载...
取消
保存