Replies: 2 comments 20 replies
-
When my battary died on windows and later bootet up, the file I had opened in helix was just blank when I opened it again. I would love an option to just keep rolling backups of the open buffers as well somewhere. Or even auto save after a certain time :( |
Beta Was this translation helpful? Give feedback.
-
I would like that it normally just saves regularly into a backup file while being open for desaster discovery. This could be versioned too. And I need he possibility to enable per language or better per project to save to the real files. This is because I sometimes want to have file watchers trigger rebuilds and hotloading and on other times I don't but still want to be able to recover my work. Having a watcher checking for changes in the buffer would be nice too. It should tell me if there are external changes, long before I would manual safe, because this could invalidate all the work I have done. P.S.: As a workaround I currently snapshot my workspace using Kopia every 10 minutes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Basically, the same as the backup option in (n)vim: every time a file is changed and then saved to disk, just save its previous version somewhere to keep a backup of the last edit.
This should be easy to implement, as it is basically a modified version of
:update
. With the variable expansion feature, this could also be set up by users autonomously, but I think it's better to provide a command ad-hoc for this, with a configurationautomatic_backup
and anotherbackup_directory
. Ifbackup_directory
is"."
, then files are backed up side-to-side to the original files with the addition of~
to the filename.This is super-useful when while developing you delete files by mistake.
Beta Was this translation helpful? Give feedback.
All reactions