Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-vim-airline]

Vim plugin to enhance the status bar

58
votes
4answers
44k views

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?
22
votes
1answer
34k views

How do I configure the Vim airline plugin to look like its own project screenshot?

I am trying to get the vim-airline up and running. I have required it via vundle in my ~./vimrc: Plugin 'bling/vim-airline' I have installed it and expected my Vim to look like the screenshot on ...
7
votes
2answers
8k views

How do I change the Airline theme?

I'm using airline with its default theme (relying from my theme gruvbox). I use :AirlineTheme base16 while I have already opened my vim to change my airline theme to base16. But I want to change the ...
7
votes
2answers
3k views

How to get rid of the command line bar?

I am using vim-airline and it's really nice. However, I get that second status bar below it which I want to hide. I have tried set noshowmode in my .vimrc, but that only seemed to hide the default ...
6
votes
1answer
3k views

Powerline fonts not working on Airline

So, I installed the Airline plugin which is working quite nicely. But, I'd like it a bit sweeter. So I went to Powerline. I installed patched fonts from https://github.com/powerline/fonts/tree/master/...
6
votes
2answers
960 views

Does powerline and vim work in windows using Cmder shell terminal?

I am using the cmder under windows 7. I am using Vim version 7.4; I'm using the airline plugin and I installed the powerline font/patch. I followed the instruction and also added the following to my ...
6
votes
1answer
584 views

Current filename not visible in airline

I'm using airline in vim on the terminal (as part of spf-13, fyi). However, all kinds of other random info (including other open buffers) tends to fill up the line and push out or cover what the name ...
4
votes
3answers
2k views

What can I do with more tabs than fit in one (airline) tab-line?

I use airline to manage my status-line and tab-line. This worked great until I started to code for an MVC project that has way too many modules and files going on. I now have tabs coming out my ears. ...
3
votes
1answer
58 views

What is the letter's meaning in non focused tabs

I am wondering what the letters before the filename in a non focused tab stands for. In the example in the picture c/s/s/.
3
votes
1answer
103 views

How can I remove the left bar in the taglist plugin?

How can I remove the left bar in the taglist plugin? It is the gray part in picture.
3
votes
1answer
527 views

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 ...
3
votes
0answers
78 views

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 [+] ...
2
votes
2answers
695 views

Ugly orange triangle in the airline theme using nvim

I have an ugly orange triangle appearing in the airline bar in my nvim regardless of the theme I use. Take a look at that : Shocking, isn't it ? Now do you have an idea on how to correct this ?
2
votes
3answers
1k views

Airline fancy symbols missing

I installed the powerline patched fonts by following the wiki at https://powerline.readthedocs.io/en/master/installation/linux.html#patched-font-installation I selected the patched font and added: ...
2
votes
1answer
169 views

How can I show the + register in Airline?

I'm using the Airline plugin. How can I show the + register in Airline ?
2
votes
2answers
765 views

How do I make netrw behave with respects to cycling through buffers with :bprevious/:bnext

I have my vim setup according to "Solution #1: Replicating Tabs with Buffers" on this site buffers-vs-tabs with the vim-airline plugin. If I open numerous files in buffer 'tabs' :bprevious/:bnext ...
2
votes
1answer
85 views

Change/Set color to a string in statusline

I'll preface by saying that I am using Airline, plytophogy/vim-virtualenv plugin and gruvbox as the Airline theme. I am trying to change the color of some string in the status line to, say, orange. ...
2
votes
0answers
508 views

what is the correct codepage to use with vim airline?

Ok so I have setup my .vimrc as followed but I'm still experiencing a few problems with it: let $VIM=/usr/share/vim/vim74 let $VIMRUNTIME=/usr/share/vim/vim74 execute pathogen#infect() " air-line" ...
1
vote
1answer
446 views

Add custom section to airline

I want to add section to mu airline that will display the output of a function called SpinnerText() taken from here. I honestly don't really understand how to do it and yes I did look at the ...
1
vote
1answer
27 views

How can I remove the word “tabs” at the beginning of the tabbar in airline-vim?

I would like the tabbar to start with the first tab not with "tabs". "tabs>1 main.tex>2 section_01.tex> <tab 2/2"
1
vote
1answer
1k views

Problem with color, symbols and upper bar using airline with Vim in terminal

I noticed 3 problems with my Vim terminal setup on Ubuntu which can be illustrated by the following picture of my current Vim. I get the same look with a lot of airline-themes (e.g. molokai, ...
1
vote
1answer
976 views

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 ...
1
vote
1answer
321 views

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 ...
1
vote
1answer
374 views

vim-arline-themes can't set theme

Dears, I have my .vimrc as set nocompatible filetype off syntax on set nu " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let ...
1
vote
0answers
15 views

How can I add a count of all columns on every line to the statusline in Vim?

I'm using vim-airline and would like to add a count of all characters on the current line to it. It should be displayed like 1:75 where 1 is the column the cursor is currently on and 75 the total ...
1
vote
1answer
41 views

How do I properly set up airline and powerline fonts with gvim?

I've recently started moving over to gvim from vim on Windows. I managed to get the terminal version set up properly, and the fonts render there. In Vim, it works fine: But in gvim, the powerline ...
1
vote
0answers
65 views

How to access “additional sections” in vim-airline?

The vim-airline documentation addresses statusline sections as "airline_section_[a-z]" and mentions "additional sections" ([...]). I have searched in vain to figure out what letter/number could be ...
1
vote
0answers
28 views

Airline section_x for particular filetype

For .js files, I set a particular filetype in order to enable snippets, like this: augroup project autocmd! autocmd BufRead,BufNewFile *.js set filetype=javascript.javascript-es6-react.jsx ...
1
vote
0answers
57 views

Monkey-patch plugin function

Is it possible to override an autoloaded plugin-function? I want to customize an airline-internal function just like this: diff --git a/autoload/airline/extensions/default.vim b/autoload/airline/...
1
vote
0answers
66 views

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 ...
1
vote
0answers
51 views

Strange behaviour when switching buffers in vim (syntax highlighting and keymaps cease to work until .vimrc source)

I have set up the following list of commands to switch buffers: (in a .vim file i source from my .vimrc to keep it organised) ...
1
vote
0answers
974 views

Neovim Airline Powerline Fonts won't work

I installed Airline status line for Neovim and put the following line in my init.vim: let g:airline_powerline_fonts = 1 I also followed the instructions for installing powerline symbols from here ...
1
vote
0answers
72 views

Airline plugin configuration [duplicate]

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 ...
1
vote
0answers
91 views

How do I prevent resizing of particular buffer?

I have these mappings in my .vimrc: nnoremap <s-j> <C-w>- nnoremap <s-k> <C-w>+ In a single buffer, Shiftj results in resizing my (pic1) buffer. Im not sure about that, but i ...
0
votes
2answers
974 views

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. ...
0
votes
2answers
678 views

vim-airline not displayed correctly

My vim-airline plugin looks like this: But on all screenshots it might be like this: Here my Vundle plugins list: Plugin 'VundleVim/Vundle.vim' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'scrooloose/...
0
votes
1answer
223 views

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 ...
0
votes
1answer
905 views

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-...
0
votes
1answer
280 views

airline in conemu - changing colors on page scroll

I have finally got vim with airline plugin to work on windows with conemu thanks to this topic Almost everything is good right now except some problems with colors in airline when screen is scrolled....
0
votes
0answers
136 views

Vim Airline no GitBranch name [doing echo fugitive#head() shows correct branch]

I have Fugitive vim and Airline vim installed via Vundle. I installed them as follow: Plugin 'https://github.com/tpope/vim-fugitive.git' Plugin 'vim-airline/vim-airline' Airline status works fine. ...
0
votes
0answers
18 views

Displaying specific text only in the airline of a given window

Suppose that using bufwinnr() I find the windows number where a given buffer is being displayed to be 2. With that information, is there a way to display a specific string only in the airline status ...
0
votes
1answer
162 views

Airline does not display correctly unless I source _vimrc

I have airline plugin installed with pathogen. It displays <bf><bf> etc instead of showing normal characters. If I source my _vimrc, airline displays everything normally. I sometimes have ...