An alternative to minibufexplorer (vim)?
Solution 1
There's a new fork of minibufexpl.vim on GitHub which aims to solve some of these problems. One of its new features is "Prevents resizing of MBE buffer by window resizing commands" and it is immune to commands such as C-WC-R (rotate windows).
https://github.com/fholgado/minibufexpl.vim
Solution 2
While this is not an exact answer to your question, I think you could find it useful.
FuzzyFinder plugin provides good visual representation of your open buffers, and also offers great way to jump between them - fuzzy match.
Its list of buffers is not "persistent" meaning it's only shown on demand, but I consider this an advantage: firstly the buffers list doesn't eat up precious screen estate, and secondly with fuzzy match I don't feel a need to see it at all.
Consider the below screenshot: in order to switch to ext_gcd.py
I just need to press
,bg
: ,b
invokes buffers list and g
fuzzy-matches the only buffer
whose name contains letter g.
P.S: it works with files too. My mappings are as follows:
map <leader>f :FufFileWithCurrentBufferDir **/<C-M>
map <leader>b :FufBuffer<C-M>
,f
in this case recursively fuzzy-matches files starting from a directory where current buffer is placed.
Solution 3
Old thread, but for anyone else searching checkout the vim-airline plugin. It's very popular and has great compatibility with other plugins.
Use the g:airline#extensions#bufferline#enabled option to get what your looking for.
Solution 4
I really enjoy buftabs.vim because it keeps the information about which buffers I have open in the status line, which disappear when I need to type there in a nice clear manner. I find this quite preferable to minibufexplorer because my cursor never accidentally ends up in a read-only scratch buffer which takes up more space than necessary. It also does some magic-mapping of :bnext
and :blast
to allow hopping between buffers for a rather more "familiar" feeling.
Solution 5
You can use ctrlp, a plugin written in pure Vimscript and highly configurable.
:CtrlPBuffer
open a window with the list of open buffers
you can begin to type, it is a fuzzy finder.
numbers1311407
Full-ish stack web developer with a current predilection for node.js, meteor, angular, and all things modern javascript. 10 year member of the NYC tech community as a professional web developer building in ruby, js, and once upon a time, actionscript.
Updated on November 25, 2020Comments
-
numbers1311407 over 3 years
minibufexplorer is a persistent buffer manager for vim that lives in its own window. It shows all the buffers you have open, with color indicators as to which are currently visible in windows and which have unsaved changes.
It's a great plugin which I've been hooked on forever. And without the persistent buffer display I find that I now feel lost.
The problem is, minibufexpl tends to get in the way of other window controls. As it is a normal vim window, it behaves like one, causing issues if you wanted to say, rotate your other working windows. Minibufexplorer's window would rotate as well, which is obviously less than desirable.
What I really need is a plugin that persistently displays the open buffers, but doesn't behave like a window. I don't need file navigation or anything as I use other means for that. Perhaps even something like an extended status bar that was capable of displaying information on buffers like minibufexpl does?