In vim or neovim I can do the following
:e.|vs.|vs.|sp.
To open various netrw file explorers simultaneously. The command above results in the following layout:
|netrw0|netrw1|netrw2|
| | |netrw3|
Now what I want to accomplish is a oneliner which results in the following layout:
|netrw0|netrw2|
|netrw1|netrw3|
I'm not sure if this is possible, ofcourse I can switch panes to get the above result, however that is not what I want because the thing I'm actually doing is creating a function in my vimrc which I link to a function key, that way I can press a function key and open the desired splitted file browsing layout.
ps. in my .init.vim (I'm using neovim), I have "set splitright" in order to open vertical splitted windows by default on the right side.
With the command :wincmd it is possible to switch panes from the command line. The following oneliner result in the desired layout:
:e.|vs.|wincmd h|wincmd h|sp.|wincmd l|sp.