Fix up navigation

Tue, 26 Jul 2016 16:06:13 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 26 Jul 2016 16:06:13 -0400
changeset 354
c7161b3ba76f
parent 353
8032fccc42d7
child 355
587d3bc1a947

Fix up navigation

.muttrc file | annotate | diff | comparison | revisions
--- a/.muttrc
+++ b/.muttrc
@@ -1,7 +1,7 @@
 # IMAP
 source ~/.mutt/roomag/config
 
-macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/roomag/config<enter><change-folder>!<enter>' 'switch roomag'
+macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/roomag/config<enter><change-folder>!<enter>' 'switch roomag'
 
 source ~/.mutt/gpg2.rc
 source `F=$HOME/.mutt/local; if [ ! -s "$F" ]; then F=/dev/null;fi;echo "$F"`
@@ -51,12 +51,15 @@ bind generic N   search-opposite
 bind generic \Cu half-up
 bind generic \Cd half-down
 
-bind index,pager <F5> sync-mailbox
+bind index,pager <F5>      sync-mailbox
+bind index,pager <Tab>     previous-new-then-unread
+bind index,pager <BackTab> next-new-then-unread
+
 bind index gg   first-entry
 bind index G    last-entry
 
-bind pager J next-unread
-bind pager K previous-unread
+# bind pager J next-unread
+# bind pager K previous-unread
 
 bind pager <up>   previous-line
 bind pager <down> next-line

mercurial