Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am recently start using Vim (Vim-gnome) and also use plugin vim-airline. Everything is fine but when i have only single file open, Status bar shown but not rendered correctly(not exact airline bar, no color). but if I have more then one file everything looks fine.

Any solution please?

share|improve this question
up vote 10 down vote accepted

Put de following line in your .vimrc:

set laststatus=2

This helped me on the commandline :)

share|improve this answer
i have set laststatus=2 in my .vimrc, 2 solve the problem thanx – netsmertia Oct 15 '13 at 15:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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