Vim Quick Reference
This article needs polish, do not truely trust it!
Vim is so-called the god of editors, but not so friendly to new users. Today we will cover some techniques and trick of vim, for further reference.
General Pattern
A vim operation consists of three parts, namely
[OPERATOR][NUMBER][MOTION]
where
OPERATOR- what you want to do? This mainly covers copy, cut, paste, etc.NUMBER- how many times do you want? It’s nothing but repeating the operationNUMBERtimes, and it’s optional.MOTION- where do you want to go? This point out the scope where theOPERATORapplies.
Note: order does not matter sometimes.