vim-plugin-minibufexpl
vim-plugin-minibufexpl copied to clipboard
g:miniBufExplSplitToEdge=0 doesn't work
When I try to toggle MBE in vertical mode when being in e.g. NERDTree or TagBar buffer I would expect MBE to appear in a new split above (or below with let g:miniBufExplBRSplit = 1). Instead it opens in a new vertical split on the very edge of the VIM window.
This is the MBE config I use:
let g:miniBufExplVSplit = 20 " doesn't make sense when setting g:miniBufExplSplitToEdge=0
let g:miniBufExplBRSplit = 0
let g:miniBufExplSplitToEdge = 0
Do you expect a vertical split or a horizontal one? If g:miniBufExplVSplit is greater than 0, it means a vertical split. If you want a horizontal split, then you should not touch g:miniBufExplVSplit variable.
Sorry for confusion. I want a horizontal split but also that MBE would list buffers in vertical mode, separated by \n. I want to achieve this kind of layout:
+----------+---------------------------------------+ | | | | | | | NERDTree | Windows | | | | | | | | | | +----------+ | | MBE | | |[buffer1] | | |[buffer2] | | |[buffer3] | | | | | | | | | | | | | | | | | +----------+---------------------------------------+
Unsetting g:miniBufExplVSplit indeed makes a horizontal split but it also lists buffers horizontally separated with spaces. So I would like to have another option independent from g:miniBufExplVSplit to specify which way to list buffers.