]> 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:

add sidebar experimentation
authormartin f. krafft <madduck@madduck.net>
Sun, 1 Nov 2015 20:46:02 +0000 (09:46 +1300)
committermartin f. krafft <madduck@madduck.net>
Sun, 1 Nov 2015 20:46:02 +0000 (09:46 +1300)
.gitignore.d/mutt
.mutt/muttrc
.mutt/sidebar [new file with mode: 0644]

index 4ab3d9c6fdd0aa384e9c8a8d2d6bece1e41340ee..6cb0ac7ce7db10578405ac5e5795406427440357 100644 (file)
@@ -33,6 +33,7 @@
 !/.mutt/sendmail-checks.d/strip-offlineimap-header
 !/.mutt/sendmail-checks.d/strip-tickle-header
 !/.mutt/sendmail-checks.d/zzz_add-spool-bcc
+!/.mutt/sidebar
 !/.mutt/spam
 !/.mutt/supersede-header
 !/.var
index 257ac3a2cd011220d9877019670ef097e3c92d4d..dc5a3cf2070eddca9458dd50e7c1e3fc41662663 100644 (file)
@@ -4550,3 +4550,5 @@ source $my_mailboxes
 
 set alias_file="$my_confdir/aliases"
 source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"
+
+source $my_confdir/sidebar
diff --git a/.mutt/sidebar b/.mutt/sidebar
new file mode 100644 (file)
index 0000000..988e983
--- /dev/null
@@ -0,0 +1,13 @@
+set sidebar_width=20
+set sidebar_visible=yes
+
+bind index,pager       \e<up>          sidebar-prev
+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
+
+color sidebar_new      red             default
+
+# vim:sw=12:noet:sts=12:ts=12:ft=muttrc