- use . to repeat last change made.
- f{char} find the next {char} in this line
- ; repeat last find command. f, t , etc.
- perform substitution repeat by & and reverse by u (very useful, tip 4)
- cw cut the word
- the ideal: one keystroke to move, another one to execute
- use -u to load vim with the vim script. -u None for none
- Pressing db deletes from the cursor’s starting position to the beginning of the
- word
- daw, delete the whole word.
- {num}<C-a> add first int num. <C-x> reduce first int num
- gu, gU upper case or normal
- ap stand for all paragraph
- <C-o> repeat last jump
- : normal {normal actions: like A ;}
- @: repeat last EX command than we can use @@
- While <C-r><C-w> gets the word under the cursor, we can instead use <C-r><C-a>
if we want to get the WORD at command mode. - In addition to the <Up> and <Down> keys, we can also use the <C-p> and <C-n> chords to go backward and forward through our command history.
- Press q: and meet the command-line
- use ! to run cmd and filter.