Questions tagged [plugin-airline]

For questions about the plugin vim-airline. The lightweight statusline plugin.

The vim-airline repo can be found here.

72 questions
87
votes
4 answers

How do I fix the status bar symbols in the Airline plugin?

I installed the Airline plugin in order to have a custom status bar, as seen in the figure below: However, my status bar is presenting the symbols <, >> and <. How do I fix this problem?
Geison Santos
  • 989
  • 1
  • 7
  • 7
4
votes
0 answers

How do I edit my Airline config such that modified files will have a differently colored bar?

I recently switched to base16_default dark as my color theme. I love it, but it's the first theme I've used where a modified buffer's airline bar doesn't change color. I do, however get the [+] symbol indicating the buffer has unsaved…
HaterTot
  • 141
  • 2
4
votes
1 answer

How to remove line column from Airline section z?

I am okay with rest of the section z but I want to remove ㏑ : 1 from the default section z configuration because I think it's not useful for me and takes up the space unnecessarily. Is there a way of doing this?
Hashir Sarwar
  • 213
  • 3
  • 9
3
votes
2 answers

Why vim-airline displays ☰ character?

I am trying to configure the statusline using plugins "vim-airline" and "vim-airline-themes". And i get this character "☰" Please help me understand why is this being displayed and how to fix this. Following is my .vimrc settings: " Backup…
3
votes
1 answer

Embed showcmd in airline

How to embed first part of the command (operator pending mode) in airline? For example, I'd like to have separate section on the right side to show me this partial command. If I set this simply with :set showcmd, it's displayed under airline status…
qiubix
  • 385
  • 2
  • 9
2
votes
1 answer

Spacing appears in Vim Airline on right side

I just successfully installed vim-airline, and all the required stuff. I've downloaded the powerline-fonts, and successfully installed them. The only problem right now I'm having is: On right side of the bar from my angle, it shows some spacing…
Arslan Ali
  • 123
  • 5
2
votes
0 answers

Vim vim-airline on split view, change colors

I tried vim-airline and it looks nice, while editing on single window. When in split view, with multiple files open, I noticed it focus on current window. By focus I mean the other windows keep lights off (I mean I cannot see the infos on the bar,…
KcFnMi
  • 133
  • 1
  • 7
2
votes
1 answer

Unknown symbols in vim near filename and filetype

Description I have a problem with weird unknown symbols in the fileformat placement and encoding sections. Environment vim: 7.4.1689 vim-airline: 0.9 OS: Ubuntu 16.04 Reproduced with a minimal vimrc: yes vimrc config link Tested on terminals:…
det
  • 21
  • 3
1
vote
0 answers

Airline plugin configuration

I've installed the airline plugin and I find it useful. However, I'd like to customize it a bit to look like that: I'm not talking about the theme (it's gruvbox) I'm talking about how the different sections are separated. In the image, they're are…
Wylex
  • 563
  • 4
  • 13
1
vote
1 answer

Show current file name and parent directory in tabline of vim-airline

I have the following directory structure Current Directory |--components |--|--Artist |--|--|--index.js so i want to display "Artist/index.js" or "C/c/Artist/index.js" in my tabline in vim-airline
1
vote
1 answer

Show index of tabs in the tabline

I want when i type :tabnew , that it automatically create numbered (indexed) tabs according to which tab in order it is. if it's 3rd tab that will be opened, than to show number 3 before tab name ( 3 [tab name] ) I can create tab with some name,…
1
vote
1 answer

airline-tabline: the action of the first tab is different from others

I'm using the plugins Nerdtree and Airline in my vim. Here is my config: autocmd VimEnter * NERDTree autocmd BufWinEnter * NERDTreeMirror " make Nerdtree available on each tab let g:airline_theme='sol' let g:airline#extensions#ycm#enabled = 1 let…
Yves
  • 1,013
  • 1
  • 10
  • 25
1
vote
0 answers

gVim status bar icon on Win10 flicker when vim-airline enabled

When vim-airline plugin is enabled, gVim's icon on the windows status bar starts flickering as on the seen on this screencast. gVim becomes slow, cursor starts flickering too. This happens when vim-airline plugin is enabled. I suspect it has todo…
user3156459
  • 121
  • 2
1
vote
1 answer

How can I check the "additional sections" of vim-airline in greater details?

I use vim-airline but the content of the "additional sections" on the status bar of the vim-airline are cut off due to the limited space of the window. The space is too tiny to include the last section. The message seems to be "tr(ailing...)" or…
Blaszard
  • 545
  • 1
  • 9
  • 27
0
votes
1 answer

pathshorten: all but containing directory

I display the current file name and path using: let g:airline_section_c = '%{pathshorten(expand(''%:f''))}' Which results in, for example: /h/b/.c/n/init.vim This keeps things tidy. However, it would be slightly more useful to have the containing…
Rich Churcher
  • 201
  • 2
  • 6
1
2