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 6c5316a058 Make vim example work with split and inactive windows
This commit introduces a bunch of changes. Most importantly, it ensures
that split windows and inactive windows work as expected. This is
accomplished with some clever workarounds for vim's statusline
limitations.

Vim statuslines evaluated using the %! statusline item are always
evaluated in the buffer context and not in the statusline's owner
window's context, and this made the previous implementation show the
same statusline for all windows. The only way to ensure that the correct
statusline is rendered to the correct window is to walk through all
windows, and setting the statuslines with a reference to the current
window number every time the current window is changed. This is
accomplished by a set of BufEnter, BufLeave, etc. autocommands.

The Syntastic segment has been temporarily removed due to errors when
referencing the statusline function before Syntastic has been loaded.
2012-11-20 21:22:21 +01:00
examples Make vim example work with split and inactive windows 2012-11-20 21:22:21 +01:00
lib Handle remainder whitespace for filler segments 2012-11-17 12:41:08 +01:00
README.rst Add initial project files 2012-11-08 12:23:57 +01:00

README.rst