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 wants them all in separate split windows:

 :sba

will do the trick. This produces horizontally split windows. If you want vertically split ones:

 :vert sba

is what you want.

Regards,
Chip Campbell

Reply via email to