Tip #39: Undo and Redo
tip karma |
Rating 1183/484, Viewed by 23065
|
Read and edit this tip on the
Vim tip wiki.
The wiki may have a more recent version of this tip.
created: |
|
March 7, 2001 14:52 |
|
complexity: |
|
basic |
author: |
|
Anonymous |
|
as of Vim: |
|
5.7 |
To undo recent changes, use the u[ndo] command:
u undo last change (can be repeated to undo preceding commands)
U return the line to its original state (undo all changes in current line)
CTRL-R Redo changes which were undone (undo the undo's).
For a full description of the undo/redo commands refer to
:help undo
<< Cursor one line at a time when :set wrap |
Insert a file >>
Additional Notes
|