Vim use command

Source: Internet
Author: User

1. Insert command

1) A adds text after the cursor

2) A add text at the end of A line

3) I insert text before the cursor

4) I start inserting text at the bank

5) o Insert text at the next line of the cursor

6) O Insert a line of text above the cursor

2. Positioning commands

1) The next key of the keyboard, the latter HJKL key is also OK

2) $ move to end of line

3) 0 move to the beginning of the line

4) H move to upper screen

5) M move to the middle of the screen

6) L move to the bottom of the screen

3. Positioning commands

1): Set Nu sets line number

2): Set Nonu Cancel line number

3) GG to the first line

4) G to last line

5): N to Nth row

Vim use command

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.