summaryrefslogtreecommitdiff
path: root/runtime/doc/undo.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-30 22:48:02 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-30 22:48:02 +0200
commita3ff49fdccd518c91c9445ab3e82394b6812bf4a (patch)
tree217470dbbb910970ca4f8d969938d1d284cbcb47 /runtime/doc/undo.txt
parent6ed8ed84f970dd2cdb7cbcb71746665cece4d063 (diff)
downloadvim-git-a3ff49fdccd518c91c9445ab3e82394b6812bf4a.tar.gz
Crypt the text in the undo file if the file itself is crypted.
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r--runtime/doc/undo.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt
index 96ff96a9e..e8fed4f06 100644
--- a/runtime/doc/undo.txt
+++ b/runtime/doc/undo.txt
@@ -225,6 +225,9 @@ after the undo file was written, to prevent corruption.
Undo files are normally saved in the same directory as the file. This can be
changed with the 'undodir' option.
+When the file is encrypted, the text in the undo file is also crypted. The
+same key and method is used. |encryption|
+
You can also save and restore undo histories by using ":wundo" and ":rundo"
respectively:
*:wundo* *:rundo*