NYW//Copy the cursor after n words
D//Delete to the end of a line< Span style= "Color:rgb (51,51,51); Font-family:arial;font-size:18px;line-height:26px;background-color:rgb ( 255,255,255); " >
D $ //Delete to end of a line (price on command)
1, move by Screen
(1) The following commands are most commonly used:
Ctrl + f //Moving forward (moving in the direction of the line number) to move one screen, Want F to represent forward
ctrl + b //Move backward one screen, b it should be before.
Ctrl + d //Move forward half screen, d refers to down
Ctrl + u //Moving backward half screen, u means up
Ctrl+e//Edit the contents of the file in the window to move the whole line up.
Ctrl+y//Edit the contents of the file in the window to move the whole line down.
(2) reposition screen command with Z
z + Enter//move the current line to the top of the screen
extend the next command such as:
100z + Enter//move line 100th to the top of the screen, remember to enter after 100z
Z.//move the current line to the center of the screen, do not enter, remember
z//Move the current line to the bottom of the screen, same as above, do not enter
Top line of the current screen: H
Current screen last line: L
Current Screen Center: M
This article is from the "whatever957" blog, make sure to keep this source http://whatever957.blog.51cto.com/6835003/1652618
Vim Usage Tips