Powerline renders statuslines for Vim and prompts for bash, zsh, fish, tmux, IPython, and several window managers. Configuration uses JSON files under a user config directory.
Overview
Powerline supplies rich statuslines and shell prompts for multiple applications from one Python codebase. It started as a Vim statusline plugin and now also supports tmux, bash, zsh, fish, IPython, Awesome, i3, and Qtile.
The code is extensible and written in Python with unit tests. Colorschemes and themes are defined in JSON so the same structure can be shared across supported apps. A daemon can keep a single Python process for prompts and statuslines to reduce startup overhead.
Segments control what appears on the statusline or prompt; colorscheme files map segments to colors from a shared palette. Local configuration in the user config directory overrides global defaults without replacing them. Patched coding fonts are documented for displaying special glyphs.
Vim statuslines support mode-dependent highlighting and automatic truncation in narrow windows. Users who want a lighter Vim-only alternative are pointed to derivative projects such as vim-airline in the documentation.
Key features
- Vim statusline with mode highlighting
- Shell prompts for bash, zsh, and fish
- tmux statusline integration
- JSON configuration and colorschemes
- Optional daemon for prompts
- Window manager widgets
- Extensible segment system
- Automatic truncation in small windows
Use cases
- Custom Vim statusline with git and mode info
- Consistent prompts across shells
- tmux session status display
- Unified look across terminal tools