VI Command-MOVE cursor

Source: Internet
Author: User

1. Move the cursor
Move      command by character:h     Description: Move left           Command:l     Description: Move right          command:j      Description: Move Down          command:k     Description: Move up           command: #h      Description: #表示位数, move the # character to the left       Example:4h   move       command by word:w      Description: Move to the beginning of the next word            command:e      Description: Jumps to the ending of the current or next word            command:b      Description: Jumps to the beginning of the current or previous word            in-line jump       command:0       Description: Absolute beginning            command:^       Description: First non-whitespace character &n at the beginning of a linebsp;          command:$      Description: Absolute end of line             inline Jump      command: #G       Description: Jump to # line      Example:3g          command:g      Description: Jump to the last line      example:g         command: #      Description: In the last line mode, directly to the travel number to jump to line 2nd      Example: 2


This article is from the "Yan" blog, please be sure to keep this source http://suyanzhu.blog.51cto.com/8050189/1942631

VI Command-MOVE cursor

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.