]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
qutebrowser: prefer dark color scheme
[dotfiles.git] / mutt / bindings
index 8e6302a6ba00d9de37baf974adbdd2619d033496..4898ee6f2b0e309e0438725519e1fc8e6c5c5784 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 \Cb "|urlscan<enter>" "open urlscan"
 
 # flag without resolving
 bind index F flag-message
@@ -36,6 +39,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
 
@@ -44,3 +48,7 @@ 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/mailfence<enter><change-folder>!<enter>'
+macro index,pager <f3> '<sync-mailbox><enter-command>source $my_config_dir/accounts/fpp<enter><change-folder>!<enter>'
+macro index,pager <f4> '<sync-mailbox><enter-command>source $my_config_dir/accounts/gmail<enter><change-folder>!<enter>'