Vim Usage Tips

Source: Internet
Author: User

Ctrl+f move forward one page in a file (equivalent to page down)

Ctrl+b move one page back in the file (equivalent to page UP)

* When the cursor rests on a word, the * key searches for the word within the file and jumps to the next place

# when the cursor rests on a word, # searches for the word within the file and jumps to the previous

(/) Move to the beginning of the front/back sentence

{/} jumps to the beginning of the current/next paragraph

G_ to the last position of the bank that is not a blank character

FA to the next character at a, you can also fs to the next character for S

T, the first character before the comma. Commas can become other characters

3fa finds the third occurrence of a in the current row

F/t and F and T are just the opposite direction.

GG position the cursor to the beginning of the first line of the file

G position the cursor to the beginning of the last line of the file

ng or NGG positions the cursor to the start of the nth row

Vim Usage Tips

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.