It’s quite simple, so let’s not belabour the explanation here.
You simply pass the files to be opened to -o
for horizontal splits and -O
(uppercase o
) for vertical splits.
The following works in Vim as well as Neovim.
- horizontal split e.g.
|
|
- vertical split e.g.
|
|
That’s it 😬