
this is the vimrc configuration i used with vim-airline plugin.
I installed the powerline fonts but i couldn't figure out what is the problem.
vim version 7.4
MacOsX 10.8.4
used with the terminal app and the MacVim but didn't work with both
run a :help airline and scroll down to the customization section. can you see all the symbols there? which font did the you install and from where?

and the installed fonts are ...

hmmm odd. and you're sure it doesn't work in mvim? did you set both font options in iterm2 to use the powerline font?
I'm using the MacVim and the terminal vim i'm not using mvim or iterm2
set encoding=utf-8 is missing in your vimrc.
no it's set but it's not captured in the screen shot my bad
here is the full vimrc if you want to check it https://raw.github.com/artmees/dotvim/master/dotfiles/vimrc
but i think the problem might be with these lines in the plugin/airline.vim

other wise it'll be that vim or MacVim are not aware of the installed fonts ?
your vimrc works fine here. your terminal/font is not configured correctly.
ok any ideas where to start other than the powerline wiki ?
the powerline old and new wikis are good resources. you can also try patching the fonts yourself and see if that makes a difference. everything so far is pointing to your fonts not installed properly.
adding this to the vimrc file
set guifont=Source\ Code\ Pro\ for\ Powerline "make sure to escape the spaces in the name properly
made the MacVim work properly. but using the terminal you must either change the font used, to the installed one you want, or patch your font.
thanks a lot for sparing time to solve this
glad i could help! :+1:
Adding a note here that might be helpful to someone trying to resolve this issue. My terminal emulator was iTerm2 and this seems obvious in retrospect. But it took me some poking around, after doing the usual vim airline configuration, to realize that I had to change the font in two different places in iTerm: the regular font and the non-ASCII font.
Vim-airline now works beautifully on OS X Mavericks. @bling thanks for creating the fork.
For anyone using iTerm2, try using a post-1.0.0 release. I'm currently using 1.0.0.20131228 and it's working fine after having set both the regular font and the Non-ASCII font as mentioned by @gkb. It was not working properly when I was using 1.0.0 stable.
The discussion that led me to this can be found in https://github.com/Lokaltog/powerline/issues/27, which references the following commit https://github.com/gnachman/iTerm2/commit/8e3ad6dabf83c60b8cf4a3e3327c596401744af6.
@gkb :+1: saved my life! :dart:
@gkb Also saved my life. So obvious...
Note, I was able to select a Powerline font as my ASCII font, but Andale Mono (my fav) as my regular font.
@gkb :+1:
@gkb @aubreypwd saved my life
@gkb fixed it
This page has made me happy. :octopus:
this worked for me when all else failed (iTerm2, vim) in vimrc:
let g:airline_powerline_fonts=1
@aubreypwd thanks for the screen shot, I was looking for a proper non-ASCII font and Droid Sans Mono for Powerline fixed a similar problem with iterm2.
@zackn9ne You saved my day!
Awesome thanks for that set guifont made it work
For me g:Powerline_symbols = 'unicode' made it work
FWIW; if using iTerm2 with a remote session to Vim on another system setting this works (_after installing a Powerline font_):
let g:airline_powerline_fonts=1
I am not able to use Airline with Powerline fonts no matter what I try.
I have
let g:airline_powerline_fonts=1
let g:Powerline_symbols='unicode'
in my .vimrc and I have Monaco for Powerline installed. Powerline works fine with this font, but Airline is completely broken.
I also tried several different Powerline fonts, but results are the same.
I am using iTerm2 and MacVim
Any help?
Figured it out, how to fix it :)
1) Make sure you installed power line fonts: https://github.com/powerline/fonts
2) Go to iTerm settings -> Profiles -> Text and make sure you have selected any power line font for Non-ASCII Font, for example I've chosen "Source Code Pro Medium".
Also check your Character Encoding in the Terminal tab of iTerm2. Mine was set to "Western (ASCII)" and I had to change it to "Unicode (UTF-8)" to get my Powerline font symbols to appear properly.
I also had problems with Airline colors not displaying properly in the console. Doing a :set &t_Co returned 8, which means vim thought I had an 8-color console. Adding let &t_Co=256 to my .vimrc solved that problem.
Throwing my two cents in here: For those of us that use Janus, you must enable the powerline symbols in .vimrc.before. Hope this helps.
@vort3x worked for me!! thanks!!!
Also got it working. Thanks.
I was able to make it work in vim (via iTerm2) with all the suggestions here. But it still didn't work in MacVim. Had to choose font in MacVim settings.
@vort3x Thanks!!
No color present in my vim editor.

.vimrc file
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
set rtp+=~/.vim/bundle/vim-airline/plugin/airline.vim
set rtp+=~/.vim/bundle/vim-airline-themes/plugin/airline-themes.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Bundle 'powerline/powerline', {'rtp': 'powerline/bindings/vim/plugin'}
:let g:airline_theme='minimalist'
:let g:miniBufExplForceSyntaxEnable = 1
:let g:Powerline_symbols='unicode'
:set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
:set laststatus=2
:set t_Co=256
:set ttimeoutlen=10
:set encoding=utf-8
:set term=xterm-256color
:autocmd! BufWritePost ~/.vimrc nested :source ~/.vimrc
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_symbols.space = "\ua0"
Please help !!
Thanks in advance.
:syntax on
@chrisbra Thanks :)
On the stock Terminal.app on Mac @vort3x 's answer worked for me.
Terminal > Preferences > Text > Font [Source Code Pro for Powerline pt 11.]
+1 @zackn9ne
ahem in my case, I was changing the font in the wrong profile. (iTerm 2)
whoops
set encoding=utf-8is missing in your vimrc.
I know I'm a bit late to the party, but this should be mentioned somewhere in the docs... I spent an hour twiddling with airline and powerline and patched fonts, only to discover that UTF-8 was not enabled in my .vimrc...
In addition, UTF-8 must be setup in your terminal.
The question is why is your vim Not using utf-8 encoding?
Also feel free to open a PR for any improvements
Am 13.02.2019 um 19:16 schrieb Assil Ksiksi notifications@github.com:
set encoding=utf-8 is missing in your vimrc.
I know I'm a bit late to the party, but this should be mentioned somewhere in the docs... I spent an hour twiddling with airline and powerline and patched fonts, only to discover that UTF-8 was not enabled in my .vimrc...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
No idea. I had to add it to my .vimrc manually...
Can't say I'm an expert on this, but after installed powerline on both mac(local) and server(remote), problem solved.
Most helpful comment
Figured it out, how to fix it :)
1) Make sure you installed power line fonts: https://github.com/powerline/fonts
2) Go to iTerm settings -> Profiles -> Text and make sure you have selected any power line font for Non-ASCII Font, for example I've chosen "Source Code Pro Medium".