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
Kim Silkebækken 0bf23adbcc Cache statusline contents in Python
Each window is now tagged with an UUID and this UUID is used to cache
the window's statusline contents in the Python VimRenderer in order to
avoid translating the statusline contents to and from a vimdict
unnecessarily.

Refs #11.
2012-12-15 18:50:55 +01:00
docs Restructure docs 2012-12-14 15:23:26 +01:00
examples Move the vim example to a separate plugin folder 2012-12-13 22:01:33 +01:00
plugin Cache statusline contents in Python 2012-12-15 18:50:55 +01:00
powerline Cache statusline contents in Python 2012-12-15 18:50:55 +01:00
.gitignore Add .gitignore 2012-12-13 15:43:49 +01:00
MANIFEST.in Move the vim example to a separate plugin folder 2012-12-13 22:01:33 +01:00
README.rst Add short presentation to README 2012-11-26 09:17:28 +01:00
setup.py Add setup.py 2012-12-13 15:43:38 +01:00

README.rst

=========
Powerline
=========

:Author: Kim Silkebækken (kim.silkebaekken+vim@gmail.com)
:Source: https://github.com/Lokaltog/powerline

**This is alpha software, expect things to change or break at any point.**

This is the next version of Powerline, implemented in Python. It aims to 
resolve some of the "unresolvable" problems of the vimscript implementation, 
as well as providing a common code base for all projects that use Powerline 
in some way (e.g. shell prompts and tmux themes).

Some of the new features for vim are:

* **Dynamic statusline evaluation in Python.** Python performs really well 
  and allows Powerline to re-render the statusline in Python instead of 
  relying on vim's statusline flags. This means no more caching, and much 
  more flexibility.
* **Automatic removal of less important segments in small windows.** Not all 
  information is equally important to have in the statusline, and segments 
  with e.g. encoding and file format information are automatically removed 
  in smaller windows.
* **The possibility of adding more segments.** Because of vim's hardcoded 
  limitation of 80 statusline options, the vimscript implementation 
  triggered an error when adding more segments to the default theme. Since 
  segment contents are now rendered as plain text in Python it's possible to 
  add many more segments in the statusline before hitting this limit.