Several ways to enter insert mode in VIM

Source: Internet
Author: User

Enter into input mode in command-line mode to tap I, A, O, S, I, A, O, S

The difference between them makes a memo:
    • I: Start insertion at the cursor position match either
    • A: Start inserting in the word specifier the cursor
    • o: Insert a new row below the line where the cursor is located
    • S: Delete the character of the cursor and start inserting
    • I: Inserted at the beginning of the line where the cursor is located, if there is a space at the beginning of a space
    • A: Start inserting at the end of the line where your cursor is located
    • O: Insert a line starting at the top of the row where the cursor is located
    • S: Delete the cursor line and start inserting

In addition u undo previous Action Ctrl+r restore previous undo action

Several ways to enter insert mode in VIM

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.