I am trying to install vim-powerline, new-powerline, or vim-airline on Windows 7 on a 64bit version of vim, but I cannot get them to work.
In vim-powerline, I get the status line, but can't see the nice < delimiters.
I installed the plugin via Vundle and updated the configuration file.
let g:Powerline_symbols = 'fancy'
set encoding=utf-8
set t_Co=256
set fillchars+=stl:\ ,stlnc:\
let g:Powerline_mode_V="V·LINE"
let g:Powerline_mode_cv="V·BLOCK"
let g:Powerline_mode_S="S·LINE"
let g:Powerline_mode_cs="S·BLOCK"
Any combination looks pretty much the same. It seems that one might have to install new fonts, but there is no how-to for Windows.
With vim-airline, I finally found those fonts looking at the vim-airline plugin. Once again I can't get it quite right: I can see some ugly <<.
This is not the beautiful screenshot provided on the bling/vim-airline repository.
You didn't use a patched font! Patching means manually adding the six extra symbols to the font at specific places in UTF formatted fonts. If these symbols are not present, you get the ugly placeholder blocks, which you are getting. You can either patch by yourself using fontforge (not easy!) or you can simply download and install a pre-patched font from this page:
https://github.com/Lokaltog/powerline-fonts
Installing a font in Windows is easy: Rightclick and choose Install
.
Then you set it as usual like this in your _vimrc:
set guifont=Liberation_Mono_for_Powerline:h10
Linux .vimrc for completeness
set guifont=Liberation\ Mono\ for\ Powerline\ 10
Then for airline
let g:airline_powerline_fonts = 1
or powerline
let g:Powerline_symbols = 'fancy'
Other settings are merely optional.
Restart and enjoy *line.
If you patch manually, here's a hint I learned painfully: After patching the normal font don't forget to patch the bold and italic fonts as well...