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
1
vote
2 answers

patched powerline fonts on gnome-terminal not working (archlinux + GNOME)

I am facing a problem on my newly installed arch linux machine with GNOME - vim is unable to render powerline glyphs on the gnome-terminal. I have installed the patched fonts and changed the gnome-terminal preferences to use the powerline font.…
Pallav
  • 119
  • 1
  • 7
1
vote
0 answers

Is it possible to change branch background color by status of the branch in vim-airline?

I would like to see some indication in vim-airline git branch section if there is uncommitted changes in it - like color could be different and if there are changes there would be ± sign next to branch. I can't find anything related from vim-airline…
1
vote
0 answers

How can I customize vim airline to change color based on file length?

I'm currently using vim and the vim-airline plugin. This already shows the number of lines in a file which works but I also want some kind of visual guide to remind me when a file is too long (similar to set colorcolumn for long lines) For example…
Rudy
  • 491
  • 5
  • 6
1
vote
1 answer

alter vim's mode indicator text to just the first letter in airline

I have vim with airline, that tells me which mode I am in. I would like to change it so that rather than the whole word it just displays the first letter. So N, I or V. Although I can find instructions for changing colours of the mode indicator, I…
leonormes
  • 979
  • 10
  • 29
1
vote
0 answers

Vim: Airline + Syntastic bug

I am unable to get Airline to work properly with syntastic. I have a clean installation of Python (3.5.3), Vim (where there are only Syntastic and Airline installed via Vundle) and Flake8. When I open python code in Vim I get this message: Error…
Ray P.
  • 875
  • 1
  • 9
  • 24
1
vote
0 answers

How to add current git repo to vim statusline

I'm using vim-airline and fugitive. Currently only the git branch is shown. I'd like to show both the repo and the branch.
David
  • 606
  • 6
  • 11
1
vote
1 answer

VIM Airline status line does not show caps lock

I would like to see if the caps-lock is ON or OFF in my vim-airline status bar for reasons mentioned here. I installed vim-capslock in my bundle and set the variable as let g:airline#extensions#capslock#enabled = 1. However, I don't see any…
Raj
  • 3,300
  • 8
  • 39
  • 67
1
vote
2 answers

Enable extensions that come with vim-airline

After I installed vim-airline, I found that there are a variety of plugins in the path vim-airline\autoload\airline\extensions but only a part of them are loaded every time I start Vim. How can I enable extensions such as syntastic, tagbar, unite,…
Wray Zheng
  • 967
  • 10
  • 17
1
vote
2 answers

Show the nth occurrence of searched text

I'm trying to find something that counts the number of responses when you do a search in a file (using '/'), so you know that you are looking at 3/10 results. Is there anything like this out there? Perhaps an integration with airline?
user2725514
1
vote
0 answers

Show all whitespace errors using Airline

I'm using Vim with Airline plugin and whitespace extension and it shows me mixed-indent or trailing-whitespace errors in the bottom right corner. But there's only one (first) error with the line number there. I'd like to check all line numbers…
prajmus
  • 3,171
  • 3
  • 31
  • 41
1
vote
3 answers

How to use vim airline or powerline on windows command promt?

I am trying to use vim airline on windows 8(x86). I have managed to get it working in gvim 7.4 successfully. How can I get the same look on vim running in command prompt? What I can deduce from research is that cmd is not displaying unicode…
isAif
  • 2,126
  • 5
  • 22
  • 34
1
vote
1 answer

Vim, constantly displaying args list

I found that arguments list is more useful than buffers list. With vim-airline plugin you can see all current buffers in the topbar. I wonder if there is a similar plugin or function to always display argument list? It would be useful if it could…
It's like Booom
  • 127
  • 1
  • 8
1
vote
2 answers

Display the current status of `expandtab` in statusline in macvim

I am currently using vim-airline in my macvim and I want to display the status of expandtab whether it is set or not in the statusline. I can find out the status of expandtab by running the following command :set expandtab?. From the vim-airline…
Sudar
  • 18,954
  • 30
  • 85
  • 131
1
vote
1 answer

Vim airline/status bar buffers of the same name

When I am using vim buffers, I like to look at the status bar instead of using :ls to see which number is associated with the vim buffer. This becomes problematic when there are multiple files of the same name. Then, the status bar for vim-airline…
Delos Chang
  • 1,823
  • 3
  • 27
  • 47
0
votes
1 answer

Weird looking glyphs while installing vim-devicons for neovim

I was setting up neovim, and was installing air-line by using Plugin manager vim-plug. There I noticed some fonts missing (rectangle box), for which I installed JetBrains Mono Nerd font which gave me in the air-line status bar in neovim, which…
akopty
  • 15
  • 1
  • 6