Vim Use note 0

Source: Internet
Author: User
Tags delete key

a/i: Before entering vim, press (a/i) into input mode (a appends the character after the cursor, I insert the character before the cursor)

ESC: Enter command line mode

Correcting text when inserting:

Ctrl+h: Character Delete key ctrl+u: Row Delete key ctrl+w: Word Delete key

To move the cursor:

h== arrow key Left J = = Arrow key down k = = arrow key up L = = Arrow key Right

Ctrl+d (ctrl+u) in command line mode, move the cursor down (UP) half the window.

Delete text:

Delete character (x) delete word (DW) Delete line (DD)

You can see the effect by typing the letter in the command line mode

(Command line mode, C caps Delete current character, back to text edit mode)

Undo misoperation: Undo U (or: undo)

Redo: Re-execute the revoked command ctrl+r (or command line: Redo)

: Help [feature] get command assistance information

CTRL + Z: Suspend (run in background) ZZ: Exit

Vim Use note 0

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.