diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-05 17:43:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-05 17:43:32 +0200 |
commit | 945e2dbb633ed29b697a8d4eea51672e3c11143b (patch) | |
tree | 9d91ddcd66538a3f908dd71acb4a6b8ed90cd374 /runtime/doc/undo.txt | |
parent | a76638f47d157ff4520fcd2917106d51d03a2ad9 (diff) | |
download | vim-git-945e2dbb633ed29b697a8d4eea51672e3c11143b.tar.gz |
Use full path in undofile(). Updated docs.
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r-- | runtime/doc/undo.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index e8fed4f06..6e2308ff1 100644 --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -314,6 +314,16 @@ The number of changes that are remembered is set with the 'undolevels' option. If it is zero, the Vi-compatible way is always used. If it is negative no undo is possible. Use this if you are running out of memory. + *clear-undo* +When you set 'undolevels' to -1 the undo information is not immediately +cleared, this happens at the next change. To force clearing the undo +information you can use these commands: > + :let old_undolevels = &undolevels + :set undolevels=-1 + :exe "normal a \<BS>\<Esc>" + :let &undolevels = old_undolevels + :unlet old_undolevels + Marks for the buffer ('a to 'z) are also saved and restored, together with the text. {Vi does this a little bit different} |