collect the usage of simple VIM split screen display function:
Split screen start vim
vim-on file1 file2 ... Use the lowercase o parameter to split the screen up and down.
vim-on file1 file2 ... Use the uppercase O parameter to split the screen left and right. Note: N is a number that is divided into several screens.
Turn off split screen
Closes the current window.
Ctrl+w c Closes the current window, leaving vim if only the last one is left.
CTRL+W Q
Split screen
Splits the currently open file up and down.
Ctrl+w S is split up and down and opens a new file.
: SP filename splits the currently open file around.
Ctrl+w v splits around and opens a new file.
: VSP filename
Move cursor
VI in the cursor key is H, J, K, L, to switch between the various screens, only need to first click Ctrl+w
Move the cursor to the right screen.
Ctrl+w l MOVE the cursor to the left screen.
Ctrl+w h Move the cursor to the top screen.
CTRL+W k Move the cursor to the screen below.
Ctrl+w J Move the cursor to the next screen.
Ctrl+w W
Mobile split Screen
This feature also uses VIM's cursor keys, but it's all capitalized. Of course, if your split screen is very messy and complicated, this feature may have some very strange symptoms.
Move right.
Ctrl+w L Move Left
Ctrl+w H Move Up
Ctrl+w K Move Down
Ctrl+w J
Screen size
Here are some of the things that change the size, mostly height, you can use Ctrl+w < or for width, but this may require the latest version to support.
Let all the screens have the same height.
Ctrl+w = increase height.
Ctrl+w + Reduced Height
Vim split screen display function under Linux