Comment by clktmr
4 years ago
There is also the `undofile` option, which stores your undo-history permanently on disk. You can also go to an earlier version of the file from 4 hours ago with `:earlier 4h`.
4 years ago
There is also the `undofile` option, which stores your undo-history permanently on disk. You can also go to an earlier version of the file from 4 hours ago with `:earlier 4h`.
How good is that for boo-boo situations that you caused outside of the editor entirly? Like deleting a file?
I suppose you know the answer, but in case anyone wonders: It won't help you. You can of course use it together with the `backup` option.