aboutsummaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-09-03 10:36:39 +0800
committerGuangxiong Lin <[email protected]>2022-09-03 10:36:39 +0800
commit46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95 (patch)
treea73b1bee2fc18d899166c73ad141c1898dfeb582 /.mutt
parente90a5f28f3afa7a51a97b18175a6b62365f55cf2 (diff)
downloaddotfiles-46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95.tar.gz
dotfiles-46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95.tar.bz2
dotfiles-46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95.zip
Add mutt keybindings
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/keybindings2
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"