Home > OS >  VSP split screen use problem
VSP split screen use problem

Time:09-19

Help leaders, practice vi split screen, found that sp and split screen is achievable, but around VSP split screen cannot be achieved, just move the cursor to the first line, this is what circumstance

CodePudding user response:

It is recommended to use vim editor, stronger than vi function
Vim 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.
  • Related