Edit-undo in VI

So, most of you are probably familiar with edit-undo functionality in word processors which is great when you delete something. Control-Z is also often a shortcut for this functionality.

Well, for those of you who have never heard of VI, it is a text editor in Linux (an operating system) which can be used to write a program. For some reason, I had it in my head that there was no way to undo a bad command (like a delete). Suddenly, it occurred to me there must be and I Googled it and found out that the undo command is "u". Even easier than Control-Z!

Silly me!

Comments