vim tip: How to undo and redo changes

Written by
Date: 2012-07-13 07:21:32 00:00

We all make mistakes, and when you mistakenly delete all that long line in vim, you really need the undo command. Well, vim has an undo command.


That is it, so simple, you can enter again, and again, to navigate through the last changes.

To fast forward changes, and redo them again, use CTRL+R

Now that you know this, you can go back to vim.