Skip to content

Instantly share code, notes, and snippets.

@Johnytran
Created July 27, 2015 13:33
Show Gist options
  • Save Johnytran/dd896d8cae21d079648f to your computer and use it in GitHub Desktop.
Save Johnytran/dd896d8cae21d079648f to your computer and use it in GitHub Desktop.
Vim undo redo
To undo recent changes, use the undo command:
u : undo last change (can be repeated to undo preceding commands)
Ctrl-R : Redo changes which were undone (undo the undos). Compare to ' . ' to repeat a previous change, at the current cursor position.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment