Last Updated: February 25, 2016
·
3.262K
· jan0sch

Enable powerline fonts with rxvt-unicode and vim-airline

I recently switched to airline as powerline replacement for vim.

To enable support for powerline-fonts the following steps were needed:

  1. Download font from powerline-fonts repository repository and copy it to ~/.fonts/
  2. Update local font cache by running fc-cache -vf ~/.fonts
  3. Update ~/.Xdefaults to use the font for example: URxvt*font: xft:Terminess Powerline:size=12
  4. Update local X settings by running xrdb -merge ~/.Xdefaults
  5. Enable powerline fonts in your ~/.vimrc by adding let g:airline_powerline_fonts = 1