commit db2837c6e2345e42343d5490d09522fc4182f9df
parent 6db3154cbcf7c5638755a9395560927cc06e827d
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sun, 28 Feb 2016 09:56:09 -0800
change scroll behavior to vi-like
Diffstat:
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc
@@ -133,8 +133,13 @@ alternative_order text/plain text/enriched text/html
set query_command= "abook --mutt-query '%s'"
macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
-bind index gg first-entry
-bind index G last-entry
+# vi-like movement
+bind attach,index gg first-entry
+bind attach,index G last-entry
+bind pager gg top
+bind pager G bottom
+bind attach,index,pager \CD next-page
+bind attach,index,pager \CU previous-page
bind index R group-reply
bind index <tab> sync-mailbox
@@ -142,6 +147,7 @@ bind index <space> collapse-thread
macro index M "T.*\n;WN" "Mark all messages as read"
+
# Macros to change between inboxes (e.g. SPACE 1), use noop editor to accept
# IMAP folders with spaces
bind editor <space> noop