CodePudding user response:
It is recommended to use vim editor, stronger than vi functionVim split screen function easily implement
CTRL + w # # # s split screen up and down
CTRL + w v # # # about split screen
CTRL + w c # # # close the cursor screen
CTRL + w up and down or so # # # the cursor to the specified screen
: sp file2 # # at the same time to edit the current file and file2
Vimdiff # # compare two files of different
CodePudding user response:
Ctrl + w, then keep the Ctrl still, continue to press a few w can the cursor around the window switching.