Vim/gvim Easy-to-forget shortcut keys

Source: Internet
Author: User


Normal Mode ==> insert mode

  • Press I to insert before cursor
  • Press I to insert at the beginning of the line
  • Press A after the cursor to insert
  • Press S to delete the word Fu insert
  • Press A to insert at the end of a row
  • Press O under the current line new CCB
  • Press o above the current line new CCB
  • Press S to delete the row of the cursor and then insert

lowercase ==> Uppercase:

  • V selection, U (ie shift+u)
  • Guu the current line to uppercase

Uppercase ==> Lowercase:

    • v Selection, U
    • Guu converting the current line to lowercase

Quickly open the last edited file: Ctrl+o (press two times)

How do I remove or insert a character like ^m? Input:%s///g The actual display is:%s/^m//g can remove all the files in the ^m

Reference: http://jingyan.baidu.com/article/af9f5a2d2ba82843140a4584.html

Vim/gvim Easy-to-forget shortcut keys

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.