]> git.madduck.net Git - etc/mutt.git/commitdiff

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 \
authormartin f. krafft <madduck@madduck.net>
Mon, 16 Nov 2015 02:44:13 +0000 (15:44 +1300)
committermartin f. krafft <madduck@madduck.net>
Mon, 16 Nov 2015 02:44:13 +0000 (15:44 +1300)
.mutt/sidebar

index 82461d35c57974dfae5f07a689af21434cfd225b..2dd8bcbedb16f566fd1978a253d53115cf7690b4 100644 (file)
@@ -9,6 +9,7 @@ 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<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