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,pager Q noop
+bind index,pager x noop
 
 # completion
 bind editor <Tab> complete-query
 macro index b "<enter-command>toggle sidebar_visible<enter><refresh>" "Toggle sidebar"
 macro pager b "<enter-command>toggle sidebar_visible<enter><redraw-screen>" "Toggle sidebar"
 
-macro pager \Cu "|urlview<enter>" "open urlview"
+macro pager \Cu "|urlscan<enter>" "open urlscan"
 
 # flag without resolving
 bind index F flag-message
 bind index,pager B bounce-message
 bind index,pager R group-reply
 
+# 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
 
 # open mailcap in attach view