Previous: Change Commands, Up: Modifying Commands [Contents][Index]

#### 2.9.5 Repeating and Undoing Modifications

VIP records the previous modifying command, so that it is easy to repeat it. It is also very easy to undo changes made by modifying commands.

`u`

  Undo the last change. You can undo more by repeating undo by the repeat command ‘`.`’. For example, you can undo 5 previous changes by typing ‘`u....`’. If you type ‘`uu`’, then the second ‘`u`’ undoes the first undo command (`vip-undo`).

`.`

  Repeat the last modifying command. Given count n it becomes the new count for the repeated command. Otherwise, the count for the last modifying command is used again (`vip-repeat`).