vim-airline adds a configurable status and tab line to Vim windows. It shows mode, file, VCS hints, diagnostics from other plugins, and cursor position.
Overview
vim-airline is a Vim plugin that draws a statusline at the bottom of each window and can extend the UI with a smarter tab line. Out of the box, sections show editing mode, version-control context, filename, filetype, encoding, and position in the buffer, with optional extra lines for warnings from tools like syntastic.
The core is small and built for extension. It can lazy-load integrations when companion plugins are installed, including fugitive, NERDTree, CtrlP, git gutter tools, tag bars, and many others listed in its documentation. Sections and parts can be reordered, truncated when the window narrows, and styled with accents tied to mode or buffer state.
Themes for common color schemes live in a separate themes package you install alongside the main plugin. The tabline extension can list buffers when only one tab is open, with independent separators and path formatters. Powerline-style symbols are supported when patched fonts are configured.
Compared with older vim-powerline, airline stays entirely in Vimscript without a Python dependency. vim-powerline was deprecated in favor of the cross-editor Powerline project written in Python. Airline also offers optional extensions such as whitespace checking and drawing the statusline at the top of the window.
Key features
- Multi-section window statusline
- Lazy-loaded plugin extensions
- External theme pack for color schemes
- Tabline with buffer list behavior
- Automatic truncation on narrow windows
- Unicode or Powerline font symbols
- Optional top-of-window statusline
- Whitespace checker extension
Use cases
- Rich default Vim status display
- Git and diagnostic info in the status bar
- Customized tab and buffer navigation
- Powerline-style glyphs with patched fonts