[Next] [Up] [Previous] [Contents]
Next: Inserting text Up: Vi reference Previous: Searching

Undoing changes


    u                       | Undo the latest change.
    U                       | Undo all changes on a line, while not having
                            |   moved off it (unfortunately).
    :q!                     | Quit vi without writing.
    :e!                     | Re-edit a messed-up file.

c.c.taylor@ieee.org