It is bad behaviour to leave unsaved documents for 1 hour, you never know what could happen imho
At least for my part, when I work with important document, I do a save immediatly after each change
Sorry if that does not answer your question, though (I don't know a way to do autosave in vi)
But I think you could recover document with the vi swap files, if opened document were brutally closed without saving
|