From the shortcut key of the graphical interface, enter gvim.
Then enter the command line and enter VS.
At this time, the left and right windows appeared.
I enter W test.html in the window on the left
Why are the left and right windows ordered to be test.html?
First of all
:vsFor a horizontally split window, see
:h vs. If
:vsWithout parameters, the default is to open the current buffer file in the newly split window, that is, your previous test.html. You try
:vs ~/.vimrc, the. vimrc file opens in the newly split window.