diff options
| author | twells46 <173561638+twells46@users.noreply.github.com> | 2025-12-31 13:28:05 -0600 |
|---|---|---|
| committer | twells46 <173561638+twells46@users.noreply.github.com> | 2025-12-31 13:28:05 -0600 |
| commit | 2140ab51deed88e90eafebf9520fa5f9995dc7c9 (patch) | |
| tree | 03cf1dcd2900495c1efb79aaa85f3254ecd5fb87 /dot_config/kak/autoload/rc/tools/autorestore.asciidoc | |
| parent | ff8f50638e4b17a9d7cc88d2f0d9560b7effce39 (diff) | |
Migrate from stow
Diffstat (limited to 'dot_config/kak/autoload/rc/tools/autorestore.asciidoc')
| -rw-r--r-- | dot_config/kak/autoload/rc/tools/autorestore.asciidoc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dot_config/kak/autoload/rc/tools/autorestore.asciidoc b/dot_config/kak/autoload/rc/tools/autorestore.asciidoc new file mode 100644 index 0000000..528fcf5 --- /dev/null +++ b/dot_config/kak/autoload/rc/tools/autorestore.asciidoc @@ -0,0 +1,13 @@ += 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. + +By default, backup files are deleted when restored. You can set the +`autorestore_purge_restored` option to `false` to prevent this. + +If you don't want backups to be restored automatically, use the +`autorestore-disable` command to disable the feature for the current session, +or put it in your `kakrc` to disable the feature forever. |