VimTutor+
About
Install Vim
Exercises
Undo Command
/** * UNDO AND REDO COMMAND * * You can undo your past actions by pressing 'u' just like you would with the undo button * found in many gui editor. * * Try deleting the words on the next line with 'dd' and then undo your delete to bring it back. * * >>> This is the line to delete. * * Ironically, you can also undo the undo by pressing 'Ctrl-R' immediately after you performed an undo. * This is what vim considers a 'redo'. You usually only use redo when you are mashing the undo command * and you accidentally go back to far.
Previous: Deleting Text
Next: Copy and Paste