Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
Go to file
ZyX 9f20fb1f3f Move some functions from VimL to python code
Should be faster with new interfaces, but that is not the case

Should remove zero that can be viewed temporary in place of statusline in new 
windows

Target: ressurect setup function like source_plugin (but in place of sourcing 
something code is moved to python) to make it possible to do the following 
sequence:

1. Install powerline via pip
2. Add a line to the vimrc like

        py from powerline.vim import setup as setup_powerline; setup_powerline(); del setup_powerline

3. See new fancy statusline

Currently there are no convenient options to use powerline installed by pip in 
vim. powerline/bindings/vim/plugin/powerline.vim will do what it does: check for 
appropriate python versions available, fix sys.path and so on, but it won’t 
create autocommands, set options or define PowerlinePyeval function.

Note: may be rebased on top of the develop.
2013-05-19 13:17:58 +04:00
docs Replace {path} with {repository_root} 2013-04-16 07:58:24 +04:00
font Combine vim modelines and Python encoding declarations 2013-03-11 10:40:09 +01:00
packages Update Arch Linux optdepends and conflicts 2013-04-12 20:29:07 +02:00
powerline Move some functions from VimL to python code 2013-05-19 13:17:58 +04:00
scripts Fix typo in scripts/powerline 2013-05-06 19:13:31 +04:00
tests Always return true in install.sh 2013-05-06 19:13:00 +04:00
tools Improve generate_gradients tool 2013-04-13 19:33:41 +04:00
.gitignore Cleanup .gitignore file 2013-03-11 07:13:57 +01:00
.local.vimrc Also ignore trailing whitespaces 2013-04-07 04:16:57 +04:00
.travis.yml Do not restrict branches to `tests` branch 2013-03-03 21:03:56 +01:00
CONTRIBUTING.rst Add initial CONTRIBUTING document 2013-03-15 15:23:41 +01:00
LICENSE Change license from CC BY-SA to the MIT license 2013-03-08 17:58:06 +01:00
MANIFEST.in Include bindings in package 2013-01-23 07:40:19 +01:00
README.rst Add Travis build status to README 2013-03-08 18:35:44 +01:00
setup.py Change indentation of closing }, ], ) and combinations of them 2013-03-25 19:04:18 +04:00

README.rst

Powerline
=========

:Author: Kim Silkebækken (kim.silkebaekken+vim@gmail.com)
:Source: https://github.com/Lokaltog/powerline
:Version: beta
:Build status:
    .. image:: https://api.travis-ci.org/Lokaltog/powerline.png?branch=develop
       :target: `travis-build-status`_
       :alt: Build status

This is the upcoming version of Powerline, implemented in Python. The 
project is currently in a stable beta and almost ready for release.

* Consult the `documentation 
  <https://powerline.readthedocs.org/en/latest/>`_ for more information and 
  installation instructions.
* Check out `powerline-fonts <https://github.com/Lokaltog/powerline-fonts>`_ 
  for pre-patched versions of popular coding fonts.

.. _travis-build-status: https://travis-ci.org/Lokaltog/powerline

Screenshots
-----------

Vim statusline
^^^^^^^^^^^^^^

**Mode-dependent highlighting**

* .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-normal.png
     :alt: Normal mode
* .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-insert.png
     :alt: Insert mode
* .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-visual.png
     :alt: Visual mode
* .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-mode-replace.png
     :alt: Replace mode

**Automatic truncation of segments in small windows**

* .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate1.png
     :alt: Truncation illustration
* .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate2.png
     :alt: Truncation illustration
* .. image:: https://raw.github.com/Lokaltog/powerline/develop/docs/source/_static/img/pl-truncate3.png
     :alt: Truncation illustration

----

The font in the screenshots is `Pragmata Pro`_ by Fabrizio Schiavi.

.. _`Pragmata Pro`: http://www.fsd.it/fonts/pragmatapro.htm