main-line

https://github.com/jasonm23/emacs-mainline.git

git clone 'git://github.com/jasonm23/emacs-mainline.git'
21

Main-line - v1.2.8

This is a fork of powerline.el which I began while the original authorship of powerline was unknown.

Note: Mainline is being merged with the other active fork of Powerline - The new separators and serveral new ones have been added already. I will be retiring emacs-mainline in light of this, and 1.2.8 is likely the final release. I suggest you switch over to Powerline if you are using main-line currently.

Using main-line.el

Add a require to .emacs / init.el

 (require 'main-line)

You can customize the separator graphic by setting the custom variable (you can also click the separators to cycle through them)

 main-line-separator-style

e.g.

 (setq main-line-separator-style 'wave)

possible values…

To customize the modeline - simply override the value of mode-line-format, see the default at the end of the script, as an example.

You can create your own modeline additions by using the defmain-line macro.

for example,

(defmain-line row "%4l")

gives you main-line-row to use in mode-line-format

Note. Using main-line-percent-xpm requires 18px separators (use main-line-percent with arrow14 or chamfer14)

Examples