[Next] [Up] [Previous] [Contents]
Next: Repeat Up: Command mode Previous: Search and replace

Undo

The undo command, u, is another feature that has saved me many times. Pressing u undoes the last command you told vi to perform. Another form of the undo command is U which undoes all the changes made to the current line since you moved there.


c.c.taylor@ieee.org