bind pager gg      top
 bind pager G       bottom
 
+macro index,pager gi "<change-folder>=gmail/inbox<return>"   "go to inbox"
+macro index,pager gy "<change-folder>=gmail/youtube<return>" "go to youtube"
+macro index,pager ga "<change-folder>=gmail/archive<return>" "go to archive"
+macro index,pager gs "<change-folder>=gmail/spam<return>"    "go to spam"
+macro index,pager gc "<change-folder>=gmail/cadscan<return>" "go to cadscan"
+
 bind index q noop
-bind index Q quit
+bind index Q noop
+bind index x noop
 
 # completion
 bind editor <Tab> complete-query
 
 # limit when syncing
 macro index $ "<sync-mailbox><limit>=(=U|=F)<enter><collapse-all>"
+macro pager $ "<exit><sync-mailbox><limit>=(=U|=F)<enter><collapse-all>"
 
 bind index <space> collapse-thread