Emacs Powerline
This is a fork of powerline.el from http://www.emacswiki.org/emacs/powerline.el, which is ultimately inspired by vim-powerline.
Installation
There are a number of ways to do this correctly. If you're comfortable with doing it your own way, please skip this section. If not, this is the recommended and tested way that I got it working.
$ cd ~/.emacs.d/vendor $ git clone git://github.com/jonathanchu/emacs-powerline.git
In your Emacs config:
(add-to-list 'load-path "~/.emacs.d/vendor/emacs-powerline") (require 'powerline)
Note: Depending on what distribution of Emacs you're using, you might have to do:
(require 'cl)
Customization
You can choose between different arrow shapes:
(setq powerline-arrow-shape 'arrow) ;; the default (setq powerline-arrow-shape 'curve) ;; give your mode-line curves (setq powerline-arrow-shape 'arrow14) ;; best for small fonts
You can change the mode-line color using the standard method:
(custom-set-faces '(mode-line ((t (:foreground "#030303" :background "#bdbdbd" :box nil)))) '(mode-line-inactive ((t (:foreground "#f9f9f9" :background "#666666" :box nil)))))
Additionally, you can modify directly in powerline.el:
(setq powerline-color1 "grey22") (setq powerline-color2 "grey40")
Change the :foreground, :background, powerline-color1, powerline-color2 to whatever you wish.
Screenshots
Comments/Feedback
Suggestions for any modifications, please feel free to fork and contribute!
Please file bugs at https://github.com/jonathanchu/emacs-powerline/issues.