Questions tagged [vim-airline]

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

vim-airline is a plugin that allows users to create more functional statusline. It integrates well with many other Vim plugins, see the screenshots below for more information.

Tabs

][1]

Truncation

][3]

Syntastic

][4]

Whitespaces

][5]

Project page: https://github.com/bling/vim-airline

76 questions
57
votes
3 answers

How can I setup my vim-airline or vim-powerline

I am trying to install vim-powerline, new-powerline, or vim-airline on Windows 7 on a 64bit version of vim, but I cannot get them to work. In vim-powerline, I get the status line, but can't see the nice < delimiters. I installed the plugin via…
statquant
  • 13,672
  • 21
  • 91
  • 162
37
votes
3 answers

vim-airline: what is "! trailing[1]"

At the right of my vim-airline display, I have ! trailing[1]. I'm assuming this means trailing whitespace of some sort, but how do I read what vim-airline is telling me and what am I supposed to do?
Eric Francis
  • 23,039
  • 31
  • 88
  • 122
13
votes
6 answers

switching between tabs in vim with vim-airline

I am using vim-airline plugin which works pretty good however, the only way to switch between tabs is to user :bp or :bn which is shortcuts for :bprevious or :bnext. The problem with this is that if I am on first tab and want to switch to the last…
Om3ga
  • 30,465
  • 43
  • 141
  • 221
8
votes
2 answers

Vim airline branch not showing

I've installed bling/vim-airline hoping I could have that cool branch name in my status bar. I followed the instructions on airline's repo and installed tpope/vim-fugitive. But after downloading, installing, modifying and restarting vim, I just…
user1494994
8
votes
1 answer

How can I display the function name in vim-airline?

I'm using the ctags vim plugin to have the name of the current C function (=where the cursor is) displayed in the status line. Today I installed the vim-airline plugin. Fancy, but the C function name is no longer displayed in the status line. There…
Jens
  • 69,818
  • 15
  • 125
  • 179
6
votes
3 answers

The meaning of the status bar (trailing, mixed-indent, mix-indent-file) in vim

I was wondering what is the meaning of the orange part in the status bar? ☲ [573]trailing [515]mixed-indent [515:514]mix-indent-file I am using a .vimrc downloaded from the web, so I am not sure what configuration it has. Could anyone kindly…
Ray
  • 170
  • 3
  • 10
6
votes
1 answer

vim-airline - hide filetype in statusbar

I would like to know how to hide the filetype in the statusbar in vim. For example when I open a .tex-File vim is showing me it is a "tex" file. I don't want this. My statusline looks like this: NORMAL>SPELL>git master> "filename"...< "filetype"<…
baxbear
  • 860
  • 3
  • 9
  • 27
6
votes
4 answers

Why vim-airline is not showing symbols properly?

I am using vim-airline to show status line at the bottom in vim editor. Below is my .vimrc.local file. and here is how my status line looks like. Why the symbols are not showing properly?
ajm
  • 12,863
  • 58
  • 163
  • 234
5
votes
1 answer

Show multiline Flow errors in Vim status line?

I'm using NVIM v0.2.2 with 'w0rp/ale' configured to lint for Flow errors. I see a single line error message in the status bar. However, Flow errors tend to be multiline errors. How can I configure my editor to display the full multiline Flow…
Tom Coughlin
  • 453
  • 3
  • 13
4
votes
2 answers

Vim-airline generating gaps at bottom

I installed the Vimair line using Vundle, as below, Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' But the status bar is generating some of the margins at bottom. I don't know how to fix this, as I am a new learner. A…
Mou Sam Dahal
  • 273
  • 2
  • 10
4
votes
2 answers

Vim 8.1.0037 update breaks multiple plugins

I have updated my vim to 8.1.0037 (vim --version showed compiled 13th June), and when I opened it today multiple plugins are broken. on a restart and reinstall all these plugins, they are still broken. Any direction? it seems to me that the update…
stucash
  • 1,078
  • 1
  • 12
  • 23
4
votes
0 answers

How to switch between tabline and buffers view in vim airline?

I've been using vim-airline on vim-8.0 and it displays tabs in the tabline and when I mouse left-click (with mouse input enabled) on filename on the far right hand side of the tabline the view switches to buffers (if I have enabled the option: let…
Pierz
  • 7,064
  • 52
  • 59
4
votes
2 answers

Is it possible to have a single statusline in vim with multiple splits?

Can I have a single statusline at the bottom of the window that changes to information about the currently focussed buffer?
3
votes
1 answer

Vim-airline maxline symbol overlaps with % symbol

I am currently using vim-airline with Neovim 0.5.0 for writing small programs although it bothers me that the % symbol and ≡ symbol overlaps with each other at the bottom right. An example is: Resizing the window does not help. Is there a way to…
hypadr1v3
  • 543
  • 4
  • 26
3
votes
2 answers

Vim Airline interpreting .h files as cpp, not c

Whenever I create a .h file, Airline interprets it as a cpp file (in the filetype section). How do I set it to c? I couldn't find an answer online, and I don't know in where to change the source code of Airline to do what I want.
skevelis
  • 61
  • 8
1
2 3 4 5 6