]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
mutt: chakra-project.org is not a valid mail anymore
[dotfiles.git] / mutt / bindings
index 8e6302a6ba00d9de37baf974adbdd2619d033496..ef310275b2a23a612fd395b8438b0f42e18b01bf 100644 (file)
@@ -12,6 +12,11 @@ bind index G       last-entry
 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"
+
 bind index q noop
 bind index Q quit
 
@@ -36,6 +41,7 @@ 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