Article turned from: http://www.netingcn.com/vim-%E5%88%86%E5%B1%8F%E6%93%8D%E4%BD%9C.html
Start vim to open multiple files and split screen display:
vim-on file1 file2o for lowercase letters, up and down, N is the number of split screen, followed by the file to be opened vim-on file1 file2o for capital letters, left and right points, N is the number of split screen, followed by the file to open
Split the file in a vim that is already open
Split screen up and down on the window where the cursor is located: Spctrl + w s to split the left and right of the cursor's window: Vspctrl + w V
Moving between different windows
Move the window to the left of the cursor Ctrl + W Hctrl + W to move to the window above the cursor CTRL + W Kctrl + w↑ move to the window below the cursor CTRL + W Jctrl + w↓
Close the current window
CTRL + W Cctrl + w q:q
How Vim does the split-screen operation