Why vim-airline is not showing symbols properly?

ashishjmeshram picture ashishjmeshram · Jun 11, 2015 · Viewed 12.5k times · Source

I am using vim-airline to show status line at the bottom in vim editor.

Below is my .vimrc.local file.

enter image description here

and here is how my status line looks like.

enter image description here

Why the symbols are not showing properly?

Answer

maggick picture maggick · Jun 11, 2015

Your font does not display all unicode characters but that is not a problem.

You need to install a patched font. Instructions can be found in the official powerline documentation. Prepatched fonts can be found in the powerline-fonts repository.

Otherwise you can change the separator by editing your vimrc, personally I have the following:

" the separator used on the left side
let g:airline_left_sep=''
" the separator used on the right side 
let g:airline_right_sep=''

Yes this is no separator. This render the following (with solarized colors):

airline without separator