summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-24 22:02:24 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-24 22:02:24 +0200
commit6a244fefd9673acd3b311c60c744ce0a3a7145bd (patch)
tree2b20f440c96f358a71e8c32319e31e89102afb23 /runtime
parent442b4225d3310599a8bc9107dc3f7b4153a286c4 (diff)
downloadvim-6a244fefd9673acd3b311c60c744ce0a3a7145bd.zip
Fix: :wundo didn't work in a buffer without a name.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 9c9d58415..1b8bea73e 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -7226,8 +7226,11 @@ A jump table for the options with a short description can be found at |Q_op|.
{not in Vi}
{only when compiled with the +persistent_undo feature}
List of directory names for undo files, separated with commas.
- See |'backupdir'| for the format. Specifically, "." means using the
- directory of the file.
+ See |'backupdir'| for the format.
+ "." means using the directory of the file. The undo file name for
+ "file.txt" is ".file.txt.un~".
+ For other directories the file name is the full path of the edited
+ file, with path separators replaced with "%".
When writing: The first directory that exists is used. "." always
works, no directories after "." will be used for writing.
When reading all entries are tried to find an undo file. The first