kakoune/rc/tools/autorestore.asciidoc

24 lines
681 B
Plaintext

= Automatically restore unsaved work after a crash.
When Kakoune crashes, it automatically writes out unsaved changes to backup
files with predictable names. When you edit a file, if such a backup file
exists, this plugin will automatically load the content of the backup file
instead.
== Commands
*autorestore-restore-buffer*::
Restore the backup for the current file if it exists.
*autorestore-purge-backups*::
Remove all the backups of the current buffer.
*autorestore-disable*::
Disable automatic backup recovering for this session.
== Options
*autorestore_purge_restored* (bool)::
*default* true +
If true, remove backups once they've been restored