# 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
 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"
+
 # 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