VIM Accelerator Package (i)

Source: Internet
Author: User


Vim shortcut key package (i)

move cursor

h--

l l Span style= "font-family: ' Times New Roman ';" >-- Move right

k--

j-- move

to file header or tail

< Span style= "font-family: ' Times New Roman '; font-size:20px;" >gg-- move to file header

g-- move to end of file

Delete Letters

x-- Delete the letter at the cursor position

nx-- delete the letter at the cursor position and the n-1 letters

Delete entire row (cut)

yy-- Delete the line where the cursor is located

ndd-- Delete the line where the cursor is located and the n-1 line after it

dg-- Delete from the line where the cursor is located to the end of the line

: n1,n2d-- Delete N1 to n2 line

Copy

yy-- Copy the row where the cursor is located

nyy-- Copy the line where the cursor is located and the n-1 line after it

paste

paste the next line of the cursor

P (Large) -- Paste the previous line of the row that contains the cursor

Revoke

u-- Revoke

ctrl+r-- Anti-revocation

Replace

r-- replace the word at which the cursor is located character

r-- replace the character at the beginning of the cursor, press ESC End

This article is from the "13091780" blog, please be sure to keep this source http://13101780.blog.51cto.com/13091780/1962169

VIM Accelerator Package (i)

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.