Closed nickurbanik closed 1 year ago
Thinking more on this, I think I agree backing up to a separate directory not managed by Textern is conceptually cleaner. We should still make it opt-in though. Let me take a wack at this.
I opened https://github.com/jlebon/textern/pull/86. Would you be able to take it for a spin?
Merged #86.
This change creates backup files under ~/.textern.
I have lost a few extensive editing sessions through losing the connection between Firefox and textern, either because I accidentally closed the editing page in Firefox or some other user error over a long editing session.
I just lost two hours of very good work. That is the final straw. This is what I am using now. This is referred to in https://github.com/jlebon/textern/issues/83