]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
xdg: add user-dirs.dirs
[dotfiles.git] / mutt / bindings
index 8e6302a6ba00d9de37baf974adbdd2619d033496..a8dfb0aa882a14726a4e3d75d7be55c766c8529e 100644 (file)
@@ -12,8 +12,15 @@ 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"
+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
@@ -36,6 +43,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