]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
vim: resize Gstatus window to 16 lines
[dotfiles.git] / mutt / bindings
index 9546d7bea7a81712c82702d86f62d9c40cb396d8..617e933476830c60015f07f77279ae35984a37e8 100644 (file)
@@ -7,13 +7,16 @@ 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
 
 bind index q noop
-bind index Q quit
+bind index,pager Q noop
+bind index,pager x noop
 
 # completion
 bind editor <Tab> complete-query
@@ -22,7 +25,7 @@ bind editor ^T    complete
 macro index b "<enter-command>toggle sidebar_visible<enter><refresh>" "Toggle sidebar"
 macro pager b "<enter-command>toggle sidebar_visible<enter><redraw-screen>" "Toggle sidebar"
 
-macro pager \Cu "|urlview<enter>" "open urlview"
+macro pager \Cu "|urlscan<enter>" "open urlscan"
 
 # flag without resolving
 bind index F flag-message
@@ -45,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>'