Vim in Linux edits a line, how do you make the cursor move quickly to the beginning and end of the line and somewhere in the middle of it?

Source: Internet
Author: User
Cursor positioning
G Move To line header
NG moves to the beginning of the nth row
n+ Shift N Line Header
N-Shift N-Line header
n$ n Rows (1 for bank) end of line
0 beginning of the line
$ The end of the line
^ The beginning of the letter
H,j,k,l left shift Move right
H Front screen first line beginning
M screen shows the beginning of the inter-file line
L Front screen Bottom line beginning

More reference text
Migration path 20 ^ (shift+6) Beginning of the first character white space character dot difference
Transitional tail $ (shift+4) cross- examine
How do I move to the middle of a line of words prompt ah

Vim in Linux edits a line, how do you make the cursor move quickly to the beginning and end of the line and somewhere in the middle of it?

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.