aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-16 23:03:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-02-16 23:03:51 -0300
commitbda7e666c421e0d8023d3079dc98816633c0fbb3 (patch)
tree9a62e072c372724f1ba98b6495c96f269e93733c
parent67ced027efb1a97a6aad702a3ff593fdfecad7a7 (diff)
downloadmail-bda7e666c421e0d8023d3079dc98816633c0fbb3.tar.gz
mail-bda7e666c421e0d8023d3079dc98816633c0fbb3.tar.bz2
Mark messages as read and other keybindings
-rw-r--r--muttrc.dot.link15
1 files changed, 15 insertions, 0 deletions
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 "<enter-command>unset wait_key\n<pipe-entry>bogofilter -MNs\n<ente
macro index H "<enter-command>unset wait_key\n<pipe-entry>bogofilter -n\n" "Learn as ham and save"
macro pager H "<enter-command>unset wait_key\n<pipe-entry>bogofilter -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 <save-entry><kill-line>~/load/
macro attach E <save-entry><kill-line>~/load/<enter>
+
+# Mark messages as read
+# http://blog.jwcxz.com/?p=810
+# http://rc.vc/files/mutt/keybindings.html
+#macro index <esc>m "T~N<enter>;WNT~O<enter>;WO\CT~T<enter>" "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