]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
xdg: add user-dirs.dirs
[dotfiles.git] / mutt / bindings
index 67afb132e6615d0ca0b3fadd9f26e97790f5a2a6..a8dfb0aa882a14726a4e3d75d7be55c766c8529e 100644 (file)
@@ -12,8 +12,15 @@ bind index G       last-entry
 bind pager gg      top
 bind pager G       bottom
 
 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 noop
-bind index Q quit
+bind index Q noop
+bind index x noop
 
 # completion
 bind editor <Tab> complete-query
 
 # completion
 bind editor <Tab> complete-query
@@ -34,6 +41,10 @@ macro pager F "<enter-command>set my_resolve=\$resolve;set noresolve<enter><flag
 bind index,pager B bounce-message
 bind index,pager R group-reply
 
 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
 bind index <space> collapse-thread
 
 # open mailcap in attach view