Peng Yu wrote:
gvim a bThe 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:
:sbawill do the trick. This produces horizontally split windows. If you want vertically split ones:
:vert sba is what you want. Regards, Chip Campbell