In vim, I did to much undo. How do I undo this (i.e. redo)
Oh cool, thanks @Joachim -- didn't know about <kbd>
John Millikin
2009-10-12 17:24:58
+1
A:
In command mode use u
key to undo and Ctr-r
key to redo
have a look at this
Xinus
2009-10-12 17:12:31
Actually, it shouldn't matter -- traditional consoles have no distinction between `^r` and `^R`, and Vim follows that.
ephemient
2009-10-12 19:43:41
+4
A:
<Undo> or *undo* *<Undo>* *u*
u Undo [count] changes. {Vi: only one level}
*:u* *:un* *:undo*
:u[ndo] Undo one change. {Vi: only one level}
*CTRL-R*
CTRL-R Redo [count] changes which were undone. {Vi: redraw screen}
*:red* *:redo* *redo*
:red[o] Redo one change which was undone. {Vi: no redo}
*U*
U Undo all latest changes on one line. {Vi: while not
moved off of it}
geowa4
2009-10-12 17:15:47