commit 40bdbcee3d9e97b1d30bea2673f570d9bc5d3ebc
parent 504e8466f20d6d6e40b2e82c32676370c170fefa
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 20:33:06 +0100
muttrc: add speedread binding in pager
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
@@ -185,6 +185,8 @@ macro index U "<limit>all\n" "show all messages (undo limit)"
macro index,pager P "<pipe-message>git am -s<enter>" "apply patch to current git repository"
#macro index,pager C "<cd>" "change current working directory on local file system"
+macro pager \ S "<enter-command>set pipe_decode=yes<enter>v|grep -v '^>'|speedread<enter><enter-command>unset pipe_decoding<enter>" "speedread"
+
# mark as spam (S) or ham (H)
#macro index,pager S "<save-message>=adamsgaard/Spam<enter>" "mark as spam"
#macro index,pager H "<save-message>=adamsgaard/INBOX<enter>" "mark as non-spam"