vim-airline /vim-airline

lean & mean status/tabline for vim that's light as air

★ 17,966⑂ 1,099
Vim ScriptCreated 2013-06-30
17,966
stars
+-2+-4+-5
1,099
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions

README

vim-airline





Lean & mean status/tabline for vim that's light as air.

!img

When the plugin is correctly loaded, there will be a nice statusline at the
bottom of each vim window.

That line consists of several sections, each one displaying some piece of
information. By default (without configuration) this line will look like this:


+-----------------------------------------------------------------------------+
|~                                                                            |
|~                                                                            |
|~                     VIM - Vi IMproved                                      |
|~                                                                            |
|~                       version 8.2                                          |
|~                    by Bram Moolenaar et al.                                |
|~           Vim is open source and freely distributable                      |
|~                                                                            |
|~           type :h :q          to exit                               |
|~           type :help or   for on-line help                      |
|~           type :help version8 for version info                      |
|~                                                                            |
|~                                                                            |
+-----------------------------------------------------------------------------+
| A | B |                     C                            X | Y | Z |  [...] |
+-----------------------------------------------------------------------------+
| [...]                                                                       |
+-----------------------------------------------------------------------------+


The statusline is the colored line at the bottom, which contains the sections
(possibly in different colors):

section|meaning (example)
-------|------------------
  A    | displays the mode + additional flags like crypt/spell/paste (INSERT)
  B    | Environment status (VCS information - branch, hunk summary (master), [battery][61] level)
  C    | filename + read-only flag (~/.vim/vimrc RO)
  X    | filetype  (vim)
  Y    | file encoding[fileformat] (utf-8[unix])
  Z    | current position in the file
 [...] | additional sections (warning/errors/statistics) from external plugins (e.g. YCM, syntastic, ...)can be shown on a second line optionally (Vim only)

The information in Section Z looks like this:

10% ☰ 10/100 ln : 20

This means:

10%     - 10 percent down the top of the file
☰ 10    - current line 10
/100 ln - of 100 lines
: 20    - current column 20


For a better look, those sections can be colored differently, depending on various conditions
(e.g. the mode or whether the current file is 'modified')

 Features

  Tiny core written with extensibility in mind ([open/closed principle][8]).
  Integrates with a variety of plugins, including: [

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON