STim
STim

Reputation: 65

Using patched Powerline fonts for vim-airline

I've cloned vim-airline with Pathogen. Next I cloned patched Powerline fonts into /usr/local/share/fonts on my Ubuntu 14.04, and did fc-cache -vf /usr/local/share/fonts. I then added set guifont=Ubuntu\ Mono\ for\ Powerline\ 11 as well as set laststatus=2 and let g:airline_powerline_fonts=1 in my .gvimrc.

I'm having two problems: I'm not getting the fancy Powerline symbols, and the spacing on my fonts has been increased.

Any suggestions?

Upvotes: 2

Views: 3153

Answers (1)

pacholik
pacholik

Reputation: 8972

It's supposed to be

set guifont=Ubuntu\ Mono\ derivative\ Powerline\ 11

For problems with fonts in future:

  • select font via set guifont=*
  • get fontname set guifont
  • don't forget to escape spaces

Upvotes: 3

Related Questions