Provide the buffer number and number of buffers in the modeline.
commitab4b2696b6292bb6a65d339fba3c39bb1c00187f
authorDavid Kettler <David.Kettler@dsto.defence.gov.au>
Thu, 25 Sep 2008 03:55:51 +0000 (25 13:25 +0930)
committerJohn Foerch <jjfoerch@earthlink.net>
Thu, 25 Sep 2008 21:32:10 +0000 (25 17:32 -0400)
tree5ba8ba0523daa9a04763f6389479c36f61378d45
parentb4b01076ec455ee10ae031e2f845016079661acb
Provide the buffer number and number of buffers in the modeline.

This provides a count like [2/5] in the mode-line.  It's probably not
useful when using the tab bar; that provides more visual feedback.

Enable using the following in your rc:

  add_hook("mode_line_hook", mode_line_adder(buffer_count_widget), true);
modules/mode-line.js