Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you remove the status line from the MiniBufExplorer window

Tags:

vim

statusline

I'm using Vim with MiniBufExplorer.

How do you hide the statusline for the MBE window? I've tried every permutation of setting laststatus (0,1,2) but the best I get is the status line disappearing on the bottom of the gVim window but remaining near the top just under the MiniBufExplorer window.

I want the statusline only to exist near the bottom of the gVim window.

Any help? THANKS!

like image 238
cdelahousse Avatar asked Nov 01 '10 15:11

cdelahousse


1 Answers

You cannot eliminate the status line from the MiniBufExplorer window in a horizontal split.

The first line of the :help status-line entry reads:

A status line will be used to separate windows.

You might not realize that this definitively answers your question unless you know that Vim's help files are unusually comprehensive and precise. If you have multiple windows, they will be separated by a status line. The laststatus option only affects whether that status line also appears a) in the bottom-most window or b) when you have only a single window.

zefei has a nice fork of the buftabs plugin already mentioned in the comments. There are various other plugins like FuzzyFinder and ctrlp that offer alternative space-saving buffer listing and switching solutions.

See also: An alternative to minibufexplorer (vim)?

like image 143
Araxia Avatar answered Sep 17 '22 20:09

Araxia