This question is a follow up to this one (graphs copied from there). The OP was wondering how to split the pane of File 3 horizontally.
/========================================================\
| | | |
| | | |
| | file 1 | |
| | | |
| |______________________| |
| NERDTree | | File 3 |
| | | |
| | file 2 | |
| | | |
\__________|______________________|______________________/
currently if I were to be on the File 3 pane, then click on ctrl+n to jump to nerdtree, then select <file name> + i, my expectation is to have this:
/========================================================\
| | | |
| | | |
| | file 1 | File 4 |
| | | |
| |______________________|______________________|
| NERDTree | | |
| | | |
| | file 2 | File 3 |
| | | |
\__________|______________________|______________________/
but instead i am getting this:
/========================================================\
| | | |
| | file 1 | |
| |______________________| |
| | | |
| | | |
| | File 2 | file 3 |
| NERDTree | | |
| |______________________| |
| | | |
| | file 4 | |
| | | |
\__________|______________________|______________________/
The OP found the solution by using a mouse with mvim. I would like a solution without using a mouse since the one of the main reasons I use vim is not to use a mouse.
2Ctrl+Whpart? I tried it once and it worked, but i couldn't make it work again. this is the sequence: press on2andcontrol(at the same time) then release the keys then press onshift+w+h. that doesn't work though – abbood Jan 14 '18 at 15:03set splitright.. but same thing happened. See here – abbood Jan 14 '18 at 17:46s...it uses:split+o). – B Layer Jan 14 '18 at 22:25