Skip to content
Projets

À propos

Powerline pour Emacs

Autres projets

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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

http://i.imgur.com/CECRc.png

Comments/Feedback

Suggestions for any modifications, please feel free to fork and contribute!

Please file bugs at https://github.com/jonathanchu/emacs-powerline/issues.

Explorer des projets similaires

Chargement…