redo undo in vim code example Example 1: redo in vim Enter normal mode(press Esc) press ctrl + r Example 2: vim redo last undo # Basic syntax: CTRL+r