In undo – redo I’ve described how to undo and redo changes in a file. By default, the undo stack is deleted when you close a file. However, this can be changed and also the size of the undo stack can be controlled.
Kurt Keller's Blog
tech notes and more
Tag: undo
Quite obviously, there are people who do not know about the undo and redo functions when editing in vim. That’s a pity, because it is really helpful. I frequently use this when testing the effects of some small changes in configuration files or scripts;