VIM Editor ::: Undo And Redo In Vim

In order to undo a change, while in Normal mode, press:

u

This will undo very last action made. Can be used repeatedly to alter several actions.

In order to redo a change, while in Normal mode, press:

<CTRL>-r

Source