Reputation: 728
I am using vim-airline in MacVim. My status line looks OK, but I noticed the original status line in Vim is still there:
I am wondering how can I remove this line and only keep the vim-airline status bar?
Thanks
Upvotes: 0
Views: 309
Reputation: 172520
There's only one statusline in your screenshot: the dark bar that is styled by the vim-airline plugin. The message below it is echoed into the command-line; it gets overwritten when you enter command-line mode via :
. You've just :w
ritten the current file, so you see it mentioned both in the statusline (as the current buffer) and in the command-line (with additional information of how much data was written).
:help 'laststatus'
can make the statusline disappear, with an option value of 1
it will only appear when you have more than one window open.:w
) with :silent
.:help 'shortmess'
.:help 'cmdheight'
.Upvotes: 1