ProAnswers.org

How do I do redo (i.e. undo undo) in vim?

In vim, I did to much undo. How do I undo this (i.e. redo)

  1. Ctrl+r

  2. check out :undolist, which offers multiple paths through the undo history. This is useful if you accidentally type something after undoing too much.