Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Powerline can be shown in multiple buffer, but not in a single buffer

I have just installed Powerline plugin into my vim by using pathogen and submodule.

The powerline is only visible when where are multiple buffers. When there is only one buffer in vim, I can't see it.

I wonder whether it is a bug or not?

singlevechoz

like image 480
code4j Avatar asked Jan 01 '13 22:01

code4j


1 Answers

What you meant to say is multiple windows not buffers.

By default vim is set not to show the statusline when there is only a single window. You can override this by using:

set laststatus=2

Numbers denote the behavior as such:

0: never
1: only if there are at least two windows (this one is the default)
2: always

See :h laststatus for more info..

like image 68
none Avatar answered Nov 20 '22 18:11

none