The VIM editor cursor operation

Source: Internet
Author: User

The simplest way to move the cursor in VIM is to use the arrow keys, but the more efficient way to do this is to use shortcut keys, as shown in the table below.

Shortcut keys                                   function Description h                                         Cursor moves left one j                                        move the cursor down one k                                        cursor Move up one l                                        cursor Move right one gg                                        move cursor to first line of file g                                         Move cursor to end of file ng                     Move cursor to Nth line^the cursor moves to the first character of the current line the $ cursor moves to the trailing character of the current lineWmove the cursor to the right one word b the cursor moves one word to the left

The VIM editor cursor operation

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.