Vim Usage Summary

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.