[Linux] vim-airline characters fix

After install vim-airline (https://github.com/bling/vim-airline)

 

some specific characters may not show as expected.Capture

  1. Download the latest version of the symbol font and fontconfig file:

    wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
    wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
    
  2. Move the symbol font to a valid font path.

    mv PowerlineSymbols.otf ~/.fonts/
    
  3. Update font cache:

    fc-cache -vf ~/.fonts/
    
  4. Install the fontconfig file:

    mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
    

    Reference:
    https://powerline.readthedocs.org/en/master/installation/linux.html#fonts-installation

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s