Linux Vim Common commands

Source: Internet
Author: User

Vim command quite a lot, the basis of the preservation, exit, insert, move, etc., trouble points of multi-line selection, split screen and so on.

Vim commands are also available in three modes, command mode, edit mode, and bottom line mode. There are all kinds of these three patterns, and I am accustomed to using these three names.

Command mode: This is the mode when Vim opens the file. Common commands such as Move up or down, page up and down.

Edit mode: Press i/i/a/a/o/o in command mode to enter edit mode. The code can be written in this mode.

Bottom line mode: In command mode, enter ":", "/", "?" to enter this mode. Commands commonly used in this mode, such as saving, exiting, switching files, etc.

Here are some common commands.

Multi-screen display

---bottom row mode (:), up/down split screen (SP), left and right split screen (VSP), CTRL + WW screen jump

Linux Vim Common commands

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.