VIM: vim-airline Characters Fix

January 8, 2016
Vim Linux Troubleshooting

顯示問題

安裝 vim-airline 有時候會出現一些特殊字元的顯示問題。

Bad Characters

Sol.

# Install symbol font & fontconfig
$ wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
$ wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf

# Move symbol font to a valid (exist) font path.
$ mv PowerlineSymbols.otf ~/.fonts/

# Update font cache 
$ fc-cache -vf ~/.fonts/

# Install the fontconfig file
$ mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/

Reference:

comments powered by Disqus