]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/bindings
mutt: some more customisation
[dotfiles.git] / mutt / bindings
index ca7f58e7a920973efac12e212daaf1e635426589..d441abcb2e0ba08f1a3a5d9cd98cd5fc51b791db 100644 (file)
@@ -1,16 +1,23 @@
 # vim: ft=muttrc
 
+bind editor <delete> delete-char
+
 # moving around
-bind pager J next-line
-bind pager K previous-line
+bind pager J       next-line
+bind pager K       previous-line
 bind index,pager j next-undeleted
 bind index,pager k previous-undeleted
+bind index gg      first-entry
+bind index G       last-entry
+bind pager gg      top
+bind pager G       bottom
 
 bind index q noop
+bind index Q quit
 
 # completion
 bind editor <Tab> complete-query
-bind editor ^T complete
+bind editor ^T    complete
 
 # sidebar
 bind index,pager \CK sidebar-prev
@@ -20,8 +27,13 @@ bind index,pager \CO sidebar-open
 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>" "
+
 # Remap bounce-message function to “B”
-bind index B bounce-message
+bind index,pager B bounce-message
+bind index,pager R group-reply
+
+bind index <space> collapse-thread
 
 # open mailcap in attach view
 bind attach <return>    view-mailcap