VIM implements tab tab and split screen, toggle command
If you use Xshell, then the ALT + number can toggle the large tab at the top of the Xshell, which is also handy.
1, in a window, VIM's Small tab tabs command:
: tabnew [++opt options] [+cmd] file creates a new tab for the specified file
: TABC Close the current tab
: Tabo Close all other tabs
: Tabs View all open tabs
: TABP before a
: Tabn after a
It is convenient to use the NGT in standard mode to switch. Also, if you need to open more than one file in the current tab page, switch between files with Ctrl + 6来. If you are accustomed to the former method, this is basically not used in the back. 2, split screen: vsplit This command is too long for anyone to use. Everyone uses: VSP,: SP filename to split the screen. Split screen related actions are ctrl+w start, and then followed by another letter Ctrl+w =: Let the left and right up and down each split screen width, high equality. Ctrl+w _ (Shift +-): Current screen height expands to maximum ctrl+w | (Shift + \): Current screen width expands to maximum ctrl+w C: Close the current screen with the above 3 basic enough.
Vim Learning Notes