So, I installed the Airline plugin which is working quite nicely. But, I'd like it a bit sweeter. So I went to Powerline.

I installed patched fonts from https://github.com/powerline/fonts/tree/master/Hack and modified my .vimrc like so

enter image description here But, as you can see, it doesn't seem to work correctly...

Is it a font issue or is it something else?

  • I would vote on font/font size issue. From what I see in the README on font homepage, Powerline glyphs are in Regular part of font, but there might be a problem when there are also Bold parts of text (like NORMAL). I would suggest trying some other Powerline fonts, preferably from the official Powerline Github repo.
    – grodzik
    Commented Nov 10, 2016 at 11:01
  • I can only see one font un the official repo github.com/powerline/powerline/tree/develop/font which doesn't change anything once installed
    – Axiol
    Commented Nov 10, 2016 at 13:35
  • I see a lot more :P github.com/powerline/fonts
    – grodzik
    Commented Nov 10, 2016 at 14:24
  • Indeed, but, that's from where I got the font (Hack) which is not currently working :)
    – Axiol
    Commented Nov 10, 2016 at 14:40
  • Ah, didn't noticed that, but I used Source Code Pro, Liberation and few other from there and they worked, but didn't noticed that Hack font back then, so still I recommend trying other fonts. I had similar issue at some point - but I struggle to recall what fixed that exactly.
    – grodzik
    Commented Nov 10, 2016 at 14:44

1 Answer 1


See this post. Specifically, paste this into your .vimrc.

" air-line
let g:airline_powerline_fonts = 1

if !exists('g:airline_symbols') let g:airline_symbols = {} endif

" unicode symbols let g:airline_left_sep = '»' let g:airline_left_sep = '▶' let g:airline_right_sep = '«' let g:airline_right_sep = '◀' let g:airline_symbols.linenr = '␊' let g:airline_symbols.linenr = '␤' let g:airline_symbols.linenr = '¶' let g:airline_symbols.branch = '⎇' let g:airline_symbols.paste = 'ρ' let g:airline_symbols.paste = 'Þ' let g:airline_symbols.paste = '∥' let g:airline_symbols.whitespace = 'Ξ'

" airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = ''

  • 2
    This didn't solve my problem.
    – 71GA
    Commented Jan 8, 2020 at 5:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.