Vim split screen display
1.
Horizontal split-screen split (sp) | | Vertical Split-screen vsplit (VS) :(v) split enter such a command and VI will divide the current window into two, and the same article is displayed in these two windows. If you edit the text in one of these windows, the other window will also show you the work you are doing synchronously. :(v) Split filename split screen shows another article: New in Split form ctrl-w W used to jump between Windows ctrl-w+ enlarge window, default increment is 1
ctrl-w-Decrease window, default value is 1
Ctrl-w= can make several windows equal in size.
2. Tab tab to display each buffer in the tab, very practical, as if only support VIM7 above. : Tabnew: Opens a new tab page
. : tabprevious: Go back to the previous tab page.
: Tabnext: To the next tab page
.
: Tabc:close a tab
3. Vimdiffer a special way to start Vim can be used to show the difference of two files
.
Vim Usage Summary