Peng Yu wrote:
gvim a b
The above command will open a and b. But only one file will be show at
one time. How to show them in to split windows?
Tim already showed how to open the two files in split windows by
modifying the command above.
However, if one has already typed gvim a b and then
Hi,
gvim a b
The above command will open a and b. But only one file will be show at
one time. How to show them in to split windows?
Thanks,
Peng
gvim a b
The above command will open a and b. But only one file will be show at
one time. How to show them in to split windows?
gvim -o a b
or, if you only want 3 windows, for N files (where N3), you can use
gvim -o 3 a b c d e f g h
More info at
:help -o
-tim