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)?
~/.vimrc
that allow for showing all open buffers (based on:ls
) only when one wants to open another buffer withnnoremap <leader>b :ls<cr>:b<space>
. For splits checkout the full answer here. – Bauble