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)