vim-powerline does not have the correct appearance

524 views Asked by At

I installed it with Vundle and my .vimrc look contains the following

" Powerline setup
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline\ 9
set laststatus=2

I am using the default Gnome Terminal than comes with Ubuntu 14.04. I don't know if it installed correctly (I followed this Vim as Python IDE tutorial) but it does not look anything like the screenshots.

Here is what is it meant to look like: Official Screenshots

official screenshot

And here is what it actually looks like:

my screenshot

As you can see, zero similarity.

2

There are 2 answers

0
Ingo Karkat On BEST ANSWER

The 'guifont' option applies only to GVIM. In the terminal, Vim uses the default terminal font. So, you need to go to Gnome Terminal's settings (Edit > Profile Preferences > /General\ > Font:) and change the font there, too (assuming Powerline supports the terminal at all, which I don't know).

Also, check how many colors Vim detects via :set t_Co?; you can influence / correct that by defining the correct $TERM value, probably gnome-256color for your.

0
ladislas On

Have you installed the patched fonts?

https://github.com/powerline/fonts