garciadanny / Library

A collection of notes taken while learning new things
0 stars 1 forks source link

Powerline fonts for vim #4

Open garciadanny opened 9 years ago

garciadanny commented 9 years ago

1) Download the powerline font .otf file you want A list of fonts can be found here:

2) From the terminal run xset q to see the list of valid font paths. One valid path is /Library/Fonts. You can place your downloaded font here.

3) From the terminal run: fc-cache -vf /path/to/font/

4) In iTerm: Preferences > Profiles > Text Set the Regular Font and the Non-ASCII font to the downloaded font. Restart iTerm

5) In vim for airline: let g:airline_powerline_fonts = 1