From 46e5c52a62f3c8e26430e8a9daa7c0f7770c5c95 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 3 Sep 2022 10:36:39 +0800 Subject: Add mutt keybindings --- .mutt/keybindings | 2 ++ 1 file changed, 2 insertions(+) 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' "unset wait_keyread -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms~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'\`\"" "show only messages matching a notmuch pattern" -- cgit v1.2.3