Three modes description of Vim Editor

Source: Internet
Author: User

The VIM editor can basically be divided into 3 modes, namely command mode, insert mode (insert modes), and end line mode, which shows a diagram of how Vim's various modes convert to each other.

Command mode: Controls the movement of the screen cursor, deletes text, copies, and so on (does not use the [Del] key and [Backspace] key) and enters the insert mode, or returns to the bottom row mode.

Insert mode: You can enter text only in insert mode. Press the [ESC] key to return to command line mode. Many vim editor users want to be able to enter content as soon as they open vim, but this cannot be successful because it is in command mode when the Vim editor is just opened.

Bottom line mode: Save the file or quit Vim, but also set the editing environment and some compile work, such as listing line numbers, looking for strings, and so on.

In some books, the Vim editor is simplified into two modes, and the bottom line pattern is counted as command line mode.

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.