I'm trying to open vim in a format like this, from the command line.
|----------------|
| | 2 |
| |------|
| 1 | 3 |
| |------|
| | 4 |
|----------------|
If this was in Vim, I could use :vsp :sp :sp :sp. I know that I could split them all vertically or horizontally with -o and -O, but trying to use both opens them all with the first flag mentioned.
Is there a way I could open vim this way?
vim -c "rightb vsplit file2.txt|split file4.txt|split file3.txt" file1.txt– Eric Chen Aug 16 '20 at 22:52