From: Silvio Rhatto Date: Mon, 17 Feb 2014 02:03:51 +0000 (-0300) Subject: Mark messages as read and other keybindings X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bda7e666c421e0d8023d3079dc98816633c0fbb3;p=rhatto%2Fdotfiles%2Fmail.git Mark messages as read and other keybindings --- diff --git a/muttrc.dot.link b/muttrc.dot.link index 99e5482..2d2b0ae 100644 --- a/muttrc.dot.link +++ b/muttrc.dot.link @@ -428,6 +428,11 @@ macro pager X "unset wait_key\nbogofilter -MNs\nunset wait_key\nbogofilter -n\n" "Learn as ham and save" macro pager H "unset wait_key\nbogofilter -n\n" "Learn as ham and save" +# Disable printing +bind index p noop +bind pager p noop +bind pager P noop + # Schleuder config # see http://schleuder2.nadir.org/contrib/schleuder-with-mutt.html color body red default "^From: .*" @@ -450,3 +455,13 @@ source "~/.mutt/sidebar" # http://wiki.mutt.org/?MuttFaq/Attachment macro attach W ~/load/ macro attach E ~/load/ + +# Mark messages as read +# http://blog.jwcxz.com/?p=810 +# http://rc.vc/files/mutt/keybindings.html +#macro index m "T~N;WNT~O;WO\CT~T" "mark all messages read" +macro index M "T \n;WN^t \n" "Mark all messages read" +macro pager M "T \n;WN^t \n" "Mark all messages read" + +# Collapse +bind index P collapse-all