Update: Jan 2013 - There is now a new powerline.el (1.2)
*Note that these enhancements were made to an earlier version, which
has been bugfixed. It should be trivial to extract the xpm data /
memoization / condition, for a shape you'd like, I'll patch and
pull-request at some stage to add these into the latest version...
.... back to the original post.
Powerline is an awesome little enhancement for Emacs, ported over from
Vim by an original unknown author Nicolas Rougier and
Chen Yuan, you can find the original version at
http://emacswiki.org/emacs/powerline.el
I've added a few different xpm shapes as alternatives to the arrows or
flatshapes, a rounded or folded corner, and a set of diagonals.
Put it somewhere in your Emacs load path (e.g. ~/.emacs.d) and add
the following lines to the end of your .emacs / init.el - to load
it, set the colors and graphic shape:
1234567
(require'powerline);; colors...(setqpowerline-color1"#222");; dark grey; (setqpowerline-color2"#444");; slightly lighter grey;; shape...(setqpowerline-arrow-shape'arrow);; mirrored arrows, ;; see below for the shape options
Shapes
1
(setq powerline-arrow-shape 'arrow) ;; 18px high arrows
1
(setqpowerline-arrow-shape'arrow14);; 14px high arrows
1
(setqpowerline-arrow-shape'half);; flat
1
(setqpowerline-arrow-shape'percent);; ...? (I have no idea)