local-history
local-history copied to clipboard
Feature requests x 2: Backup on Save + Retain n versions
Thank-you for this fabulous plugin. It has saved my bacon more than once.
- Backup on Save Could it be configured to automatically backup on file save? I tend to keep my working file open and focused, but may go through multiple saves and therefore versions. I'd like to retain each of these versions.
I realise I could always just hit "undo" as many times as needed, but the diff check feature of you plugin would greatly help me roll back to the version I needed.
- Retain n versions As it stands, you have a retention preference, based on date: "history_retention": 0,
My development is idiosyncratic. Some files I might edit 20 times in a day, others I may not edit for months.
Could an additional preference be added to allow the user to define how many copies of a particular file might be retained? eg. "max_versions_retention": 20,
Thanks in advance
I like the max number of retentions idea.
I know it is almost a year of this issue but I think that setting the skip_if_saved_within_minutes config variable to at least 1 could help you to keep track of the saved versions as long as they have at least 1 minute time difference