Redo in “vi”

So, I’ve known for a long time that “undo” in the vi editor can be accomplished by pressing escape, then the “u” key. But how to “redo” eluded me this morning. I tried various things before resorting to a Google search: escape, “U” (capital “u”); escape, “r”, etc. Turns out it’s the Control-R. Duh.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.