Vim common operation shortcut key record

Source: Internet
Author: User

Often forget some of the vim of the operation of the shortcut keys, it is now recorded, convenient for later review (this is defined as the right side of the text before the text left direction for the following):
Left and RIGHT ARROW keys: K, J, H, l
Jump forward with "word" as step, reach the beginning of the word: w
Jump backward with "word" to reach the beginning of the word: b
With "word" as the step forward to reach the end of the word: E
Jump backwards with "word" to reach the end of the word: GE
Move the cursor to the first non-empty character at the beginning of the line: ^
Move the cursor to the last non-null character at the end of the line: $
Moves the cursor from the current bracket to the bracket that matches it:%
Move the cursor to the first line: G
Move the cursor to the last line: GG
Move the cursor to any line: NG or Ngg, where n is the line number
Delete the character of the cursor: X
Delete cursor Line: DD
Remove line breaks for the line on which the cursor is located: J

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.