]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/sidebar

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

enable toggling of sidebar view with \
[etc/mutt.git] / .mutt / sidebar
index 988e98346ca095b0929395273d53ff673af76c5a..2dd8bcbedb16f566fd1978a253d53115cf7690b4 100644 (file)
@@ -1,12 +1,15 @@
 set sidebar_width=20
 set sidebar_visible=yes
 
 set sidebar_width=20
 set sidebar_visible=yes
 
+bind index,pager       <left>          sidebar-prev
 bind index,pager       \e<up>          sidebar-prev
 bind index,pager       \e<up>          sidebar-prev
+bind index,pager       <right>         sidebar-next
 bind index,pager       \e<down>                sidebar-next
 bind index,pager       \e<pageup>              sidebar-scroll-up
 bind index,pager       \e<pagedown>    sidebar-scroll-down
 bind index,pager       \e<tab>         sidebar-toggle
 bind index,pager       \e<return>              sidebar-open
 bind index,pager       \e<down>                sidebar-next
 bind index,pager       \e<pageup>              sidebar-scroll-up
 bind index,pager       \e<pagedown>    sidebar-scroll-down
 bind index,pager       \e<tab>         sidebar-toggle
 bind index,pager       \e<return>              sidebar-open
+macro index,pager      \\              "<enter-command>toggle sidebar_visible<enter>"
 
 color sidebar_new      red             default
 
 
 color sidebar_new      red             default