How to go back undo changes (Command Z) in Vim

If you want to revet the recently pasted text in VIM and undo your changes the simple Command + Z will not work.


The solution is to go back via ESC key and then hit u key. That will revert your changes.