autorestore.asciidoc (621B)
1 = Automatically restore unsaved work after a crash. 2 3 When Kakoune crashes, it automatically writes out unsaved changes to backup 4 files with predictable names. When you edit a file, if such a backup file 5 exists, this plugin will automatically load the content of the backup file 6 instead. 7 8 By default, backup files are deleted when restored. You can set the 9 `autorestore_purge_restored` option to `false` to prevent this. 10 11 If you don't want backups to be restored automatically, use the 12 `autorestore-disable` command to disable the feature for the current session, 13 or put it in your `kakrc` to disable the feature forever.