vim-airline /vim-airline

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

★ 17,966⑂ 1,099👁 214⑃ 885● 1,824▤ 12
Vim ScriptMITCreated 2013-06-30
下载:v0.12v0.12 ↓0.122026-05-02
+1
日增长
-2
周增长
-2
月增长
17,966
stars
1,099
forks
214
watchers
885
prs
1,824
issues
12
releases

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: [

Top issues

Discussions

Latest release

v0.12 v0.12 2026-05-02
What's Changed
- New features
  - Extensions:
    - poetv support
    - vim-lsp support
    - zoomwintab support
    - Vaffle support
    - vim-dirvish support
    - fzf.vim support
    - OmniSharp support
    - searchcount) support
    - fern.vim support
    - Vim-CMake support
    - battery.vim support
    - nvim-lspconfig support
    - gen_tags.vim support
    - vim-rufu support
    - vim-flog support
    - nvim-lsp support
    - vim9lsp.vim support
    - fcitx.vim support
    - gitsigns.nvim support
    - codeium support
    - vimodoro support
    - nerdfont support

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON