diff options
author | Guangxiong Lin <[email protected]> | 2022-09-03 10:36:39 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-09-03 10:36:39 +0800 |
commit | 46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95 (patch) | |
tree | a73b1bee2fc18d899166c73ad141c1898dfeb582 /.mutt/keybindings | |
parent | e90a5f28f3afa7a51a97b18175a6b62365f55cf2 (diff) | |
download | dotfiles-46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95.tar.gz dotfiles-46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95.tar.bz2 dotfiles-46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95.zip |
Add mutt keybindings
Diffstat (limited to '.mutt/keybindings')
-rw-r--r-- | .mutt/keybindings | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.mutt/keybindings b/.mutt/keybindings index 6c51e36..90bce04 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -13,6 +13,8 @@ bind attach,index G last-entry bind index,pager \Cn sidebar-next bind index,pager \Cp sidebar-prev +bind pager ',r' group-chat-reply + # ',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 >~/.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;s/\\+/\\\\+/g for@a;s/=/\\\\=/g for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern" |