my .vimrc setting:
nmap <silent><F1> :NERDTreeToggle<CR>
nmap <silent><F2> :TMiniBufExplorer<CR>
let g:miniBufExplMapWindowNavVim = 1
let g:NERDTreeWinPos = "right"
first it looks like:
--------------------------
| minibufexplorer | |
--------------------- |
| | |
| top | |
| | |
---------------------NERD|
| | |
| btm | |
| | |
--------------------------
next when i press F2, minibufexplorer was toggled:
--------------------------
| | |
| | |
| top | |
| | |
---------------------NERD|
| | |
| btm | |
| | |
--------------------------
right now it seen like everything is ok, but when i press F2 again and minibufexplorer show up then the top window was resized:
--------------------------
| minibufexplorer | |
--------------------- |
| top | |
---------------------NERD|
| | |
| | |
| | |
| btm | |
| | |
--------------------------
If there is no nerdtree window at the right, it will not resize. So how to stop resizing window when nerdtree is open? (btw: sorry, I can't upload pics cuz i only have 8 reputation.)