When working on a file, I often open another file by
- looking for the file by opening the file browser in a vertical split with
- Opening the file
it's actually nice to have the file browser show up on the left side, but I would like to have the 2nd file then open on the right split.
Similar in case I want to open a file based on a horizontal split with
:Hex. I then would like to have the browser showing up on top and the file to open at the bottom.
I've tried with adding
to my .vimrc, but that only affects splits initiated by
:sp for a vertical and horizontal split, respectively.
I know I can rotate the splits afterwards with
Ctl+W followed by
r, but I would love to immediately have it like described.
Thanks in advance for any ideas!