Introduction to Vim
Text editor, support for Linux, Windows, Mac systems
Vim color display and move cursor
On: K NK: Move up n rows 9999k or GG can move to the first line G move to the last row
Under: J NJ: Move Down n rows
Left: H NH: Move n columns to the left
Right: L nl: Move n columns to the right
Shift+4: Move to end of line
Shift+6: Move to the beginning of the line
GG: to the first line
G: to the last line
NG: Move to Nth row
CTRL+F: Page Backward
Ctrl+b: Page Forward
Vim General mode to move the cursor
Move the cursor with the arrow keys
Vim Replication in general mode
DD: Delete the line where the cursor is located
NDD: Delete n lines below the cursor
YY: The line where the cursor is copied
U: Restore previous action
P: Paste Down
P: Paste Up
This article is from the "Discover new things" blog, make sure to keep this source http://shenj.blog.51cto.com/5802843/1977534
Vim Introduction, Vim color display and move cursor, VIM general mode move cursor, VIM general mode copy, cut and paste