Undo and Redo changes in vim/vi editor

It is very simple and useful specially while you are coding or editing a file using vi/vim.

  • press esc
  • press u   -- to undo.
  • press  ctrl + r   -- to redo.
Let check this below animation

undo "u"  redo ctrl + r
Undo - Redo in Vi /Vim

Your Comments /Suggestions & Questions are always welcome. 
We would like to help you with best of our knowledge. 
So feel free to put Questions.  

No comments:

Post a Comment