The Undo Command

The Undo command [u] undoes what you just did. It restores text that you just deleted or changed by mistake. It will only restore the most recently changed text. If you deleted one line and then another with separate commands, the undo command will only restore the last line deleted.

The [U] command will restore the current line to the way it was before you started changing it, even if you have made several changes.

Click here to go to the next section.

Or click here to go to the top of the chapter.