Switch Vim command mode to input mode

Source: Internet
Author: User
I am used to the IDE tools in windows, and I always feel that some of them are missing. CodeRather than your own, it is brought by IDE.
On the other hand, in the process of cultivation, you always need to master one of the other editing tools.

Vim is a simple and power editing tool,ProgramIt provides basic editing tools and can implement powerful functions through configuration or extension, such as using Vim as a rails development tool.

Vim, as a powerful editing tool, is implemented through the keyboard instead of the mouse. This is important.
Vim has three common modes: normail mode (command mode), insert mode (input mode), and visual mode (view mode ).

Switching between these modes is also very convenient. For example, in command mode, a character is required to enter the input mode as long as I is input.
The switch varies depending on the input position and the current cursor.
In short, the command mode and input mode can be switched to append, insert, replace, subsituteAirsThis memory method is particularly convenient
The English word refers to the air. The switch between Vim in command mode and input mode is like the air, invisible.
Airs English letters have different uppercase and lowercase meanings. Characterwise (character) in lower case and linewise (line) in upper case)


Editing text is nothing more than basic character input and switching the cursor position. Usually, the cursor switching is achieved through the upper, lower, and lower keyboards On the keyboard. Although it is very convenient to switch the cursor, but do we need to move it from our Keyboard gesture, while Vim does not need to move it at all through hjkl.
H: Move the value to the left.
J: Next row
K: Top row
L: one right shift

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.