How to use vim-powerline plugin in PuTTY and Windows

Statusline displayed by vim-powerline
Statusline displayed by vim-powerline

The vim-powerline plugin can be used to enable a statusline in Vim that is both beautiful and informative. Using it fully on Windows and especially for use with PuTTY has a few problems:

  1. The Consolas font needs to be patched to view the fancy Unicode symbols in the statusline.
  2. Visual mode string symbols are not downloaded properly from Github.
  3. Mercurial symbol in Consolas, a lightning symbol, does not display for some reason.
  4. Patched Consolas font name cannot be distinguished from the default Consolas in PuTTY.

I have forked the main vim-powerline repository and fixed these issues in it. These fixed files can be obtained here. Follow the instructions from my post on vim-powerline with this fork and you should be able to get the plugin running on Windows.

For PuTTY, remember to change the font for you SSH session to Powerline-Consolas and also ensure that the terminal can support 256 colors.

Tried with: PuTTY 0.62 and Windows 8 x64

5 thoughts on “How to use vim-powerline plugin in PuTTY and Windows

  1. Thanks very much Ashwin, it is very useful!!! I am tryin to use Lucida Console font But it cannot display corretly, can you get it work?Thank you!


  2. Tried all the patched work as specified.
    It doesn’t seem to work at all. There is one interesting point though, In case of Powerline Consolas there are some blurred junk character on statusline, which is absent for Powerline DejaVu, it shows blank black space instead.


Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.