Vim is the greatest invention of all time, there are a lot of interesting methods, I have a brief introduction here, let your vim use more efficient. Now open your VIM editor and follow the top teacher's action.
Improve:
1. .→ ( decimal point ) you can repeat the last command.
2. n<command>→ Repeat a command N times
Example:2DD →2 Span style= "margin:0px;padding:0px;font-weight:normal;font-family: ' Microsoft Jacob Black '; font-size:16px;" > line
3p Strong style= "margin:0px;padding:0px;" > → paste text 3 times
. Repeat the above command
3. Repeat the above command 3 times
100idesu [ESC]
Skills:
1. NG→to the firstNRow (TopNote : Notice that the commandGis capitalized, and I generally use: Nindicated to the firstNline, such as: 137 indicatesto the first137line)
3. GG→top Span style= "margin:0px;padding:0px;font-weight:normal;font-family: ' Microsoft Jacob Black '; font-size:16px;" > Note: equivalent to 1G Span style= "margin:0px;padding:0px;font-weight:normal;font-family: ' Microsoft Jacob Black '; font-size:16px;" > :1 )
< Span style= "margin:0px;padding:0px;font-weight:normal;font-family: ' Microsoft Jacob Black '; font-size:16px;" >4.G → to the last line.
5. move by word:
w-> to the beginning of the next word
< Span style= "margin:0px;padding:0px;font-weight:normal;font-family: ' Microsoft Jacob Black '; font-size:16px;" >e-> ye and yw are different, in our VIP class have said, everyone still have the impression. No impression hurriedly contact top teacher QQ
< Span style= "MARGIN:0PX;PADDING:0PX;FONT-SIZE:9PT;" > Note: If you think the word is by default, then use the small e and W 。 By default, a word is made up of letters, numbers, and underscores
If you think the word is made by blank character delimiter, then you need to use the uppercase e and W 。
0 → first come to the wardrobe
y → Start copying from here
$ → Copy to the last character of the bank
It's important to note that you can press it faster.
ye Copy from current position to last character of this word
3FA indicates finds the third occurrence of a in the current row
This article is from the "xinsz08の parallel space-time" blog, be sure to keep this source http://xinsz08.blog.51cto.com/10565212/1915914
Use of Vim to improve the article