]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
vim: resize Gstatus window to 16 lines
[dotfiles.git] / mutt / bindings
index 15d55659ad56718e9f4070a0531727e48e8dde37..617e933476830c60015f07f77279ae35984a37e8 100644 (file)
@@ -7,17 +7,13 @@ bind pager J       next-line
 bind pager K       previous-line
 bind index,pager j next-undeleted
 bind index,pager k previous-undeleted
+bind index g       noop
 bind index gg      first-entry
 bind index G       last-entry
+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"
-macro index,pager gc "<change-folder>=gmail/cadscan<return>" "go to cadscan"
-
 bind index q noop
 bind index,pager Q noop
 bind index,pager x noop
@@ -52,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>'