I\'m trying to use Powerline plugin (https://github.com/Lokaltog/vim-powerline) for the first time.
Plugin seems to be installed. I use vundle with the following command
I had the same problem. I downloaded "Menlo Regular for Powerline.otf" from https://github.com/Lokaltog/powerline-fonts
I then double clicked on the otf file, which opens up the Font Book application. I clicked install, despite the font giving gibberish symbols in the window. I then set that font as the font for my terminal (simply set it in your termnial preferenes). This fixed the problem in regular terminal vim ($ vim
), but did not fix it in MacVim. To fix it in MacVim, I had to add the following line to my .vimrc file:
set guifont=Menlo\ For\ Powerline
The backslashes are necessary to escape the spaces. Everything works great now. Hope this helps others.
Edit: To add a bit more detail, my .vimrc looks like this now:
""" FOR STATUSLINE
set encoding=utf-8 " Necessary to show Unicode glyphs
let g:Powerline_symbols = 'fancy'
set rtp+=/Users/nate/Library/Python/2.7/lib/python/site-packages/powerline/bindings/vim
set nocompatible " Disable vi-compatibility
set laststatus=2 " Always show the statusline
" For powerline font in MacVim
set guifont=Menlo\ For\ Powerline