DEV Community

Discussion on: Emergency Vim Commands

Collapse
 
voyeg3r profile image
Sérgio Araújo

Sometimes we ask ourselves, after messing up with a file for a while, how in the hell can I discard all changes I made in this file? The answer to this:

:e!

Now our file got back to its old stat