jlebon / textern

A Firefox add-on for editing text in your favourite external editor!
GNU General Public License v3.0
138 stars 21 forks source link

Provide a simple backup facility. #85

Closed nickurbanik closed 1 year ago

nickurbanik commented 1 year ago

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

jlebon commented 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.

jlebon commented 1 year ago

I opened https://github.com/jlebon/textern/pull/86. Would you be able to take it for a spin?

jlebon commented 1 year ago

Merged #86.