]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
mutt: support switching between accounts
[dotfiles.git] / mutt / bindings
index fcbad23c8926ff08119c54c34e093a25ec9c3a4c..617e933476830c60015f07f77279ae35984a37e8 100644 (file)
@@ -14,11 +14,6 @@ bind pager g       noop
 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,pager Q noop
 bind index,pager x noop
@@ -53,3 +48,6 @@ bind attach <return>    view-mailcap
 
 # add sender to goobook
 macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to goobook"
+
+macro index,pager <f2> '<sync-mailbox><enter-command>source $my_config_dir/accounts/gmail<enter><change-folder>!<enter>'
+macro index,pager <f3> '<sync-mailbox><enter-command>source $my_config_dir/accounts/office365<enter><change-folder>!<enter>'