第一步:
在~/.fonts目录下执行
git clone https://github.com/eugeneching/consolas-powerline-vim.git
git clone https://github.com/eugeneching/consolas-powerline-vim.git
第二步:
在.vimrc
"powerline{
set guifont=PowerlineSymbols\ for\ Powerline
set nocompatible
set t_Co=256
let g:Powerline_symbols = 'fancy'
set encoding=utf8
"}
set guifont=PowerlineSymbols\ for\ Powerline
set nocompatible
set t_Co=256
let g:Powerline_symbols = 'fancy'
set encoding=utf8
"}
第三步:
在.fonts目录里把consolas-powerline-vim下的.ttf文件拷贝到windows系统的C:\Windows\Fonts
第四步:
putty设置
Window --> Appearance --> Font settings --> Change... --> Consolas for Powerline
Window --> Translation --> Character set translation --> Remote character set -->UTF-8
Window --> Translation --> Character set translation --> Remote character set -->UTF-8
done:
![](http://images0.cnblogs.com/blog/468469/201304/15130918-f34fd822869c444d8734c37483ce34e1.jpg)
参考:
http://www.douban.com/group/topic/35985886/
http://zuantianyang.blog.sohu.com/255966218.html
https://github.com/eugeneching/consolas-powerline-vim
http://zuantianyang.blog.sohu.com/255966218.html
https://github.com/eugeneching/consolas-powerline-vim