Skip to content

Instantly share code, notes, and snippets.

@oconnoat
Created February 26, 2015 17:54
Show Gist options
  • Save oconnoat/42edc7bea1d01210ef76 to your computer and use it in GitHub Desktop.
Save oconnoat/42edc7bea1d01210ef76 to your computer and use it in GitHub Desktop.
Install vim-powerline fonts
git clone --recursive https://github.com/powerline/fonts/
fonts/install.sh &
fc-cache -v -f

Setting the font automatically is OS-dependent and for once it's not Windows that is the problem

if has("gui_gtk2")
    set guifont=Anonymous\ Pro\ for\ Powerline\ 11
elseif has("gui_macvim")
    set guifont=Anonymous\ Pro\ for\ Powerline:h11
elseif has("gui_win32")
    set guifont=Anonymous\ Pro\ for\ Powerline:h11
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment