Linux VIM Program Editor

Source: Internet
Author: User
Tips:

In VI, [tab] The result of this button is not the same as the result is not the same, especially
Emphasize it!

General mode

30↓ Move Down 30 rows

GG moves to the first line of the file, equivalent to 1G

G move to the last line of the file

Enter cursor down 30 rows

/XXX below the cursor, search for the XXX string

? XXX cursor above, search for XXX string

: Set Nonu Cancel line number

Edit mode:

I current cursor character match either insert

I Current line first non-null character inserted

A current cursor character specifier insert

A current line Last word specifier insert

o Insert one row below the current row

O insert a row on the current line

R can replace the current character

R always takes the place of the cursor character, knowing that pressing ESC

Command mode

Linux VIM Program Editor

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.