1

I just successfully installed vim-airline, and all the required stuff. I've downloaded the powerline-fonts, and successfully installed them. The only problem right now I'm having is: On right side of the bar from my angle, it shows some spacing between arrows and boxes like in the following picture:

Spacing between arrow and box on right side

I've applied a lot of techniques to make it look properly, but nothing makes it work.

Note: No matter, how wide or short the screen is - the spacing remains consistent.

  • have you tried changing the font-size ? also you can try with this font that works great : github.com/larsenwork/monoid – nobe4 Aug 19 '15 at 8:54
  • Yes, I've. Changing the font-size makes the space out, but at the same time, it also makes the arrow (much more)bigger than the box, and it looks awkward. – Arslan Ali Aug 19 '15 at 8:58
  • You should see github.com/bling/vim-airline/issues/702 – nobe4 Aug 19 '15 at 9:02
  • Installing Monoid didn't help. – Arslan Ali Aug 19 '15 at 9:04
  • No, neither one helped. – Arslan Ali Aug 19 '15 at 9:09
2

You should try adding the following line in your vimrc :

let g:airline#extensions#whitespace#mixed_indent_algo = 1

Also, some fonts may work better than others. e.g. :

  • I'm not sure why this is the accepted answer. The first suggestion doesn't change the padding on the right-hand side at all and most of us chose the font we did because we like it better than all of the other fonts. I'll fork vim-airline and see if I can find the source. – cbartondock Jun 27 '18 at 3:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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