diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-11-06 05:26:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-11-06 05:26:15 +0100 |
commit | f5a2fd880ae8f6225814209ab73783f65078a4d5 (patch) | |
tree | 29090d43de4a770e32e36f4b0efeaa5c4e3b6f2f /runtime | |
parent | 4c1e626103397f8ac84ab7ca29cc74d0b3cc06e6 (diff) | |
download | vim-git-f5a2fd880ae8f6225814209ab73783f65078a4d5.tar.gz |
updated for version 7.4.073v7.4.073
Problem: Setting undolevels for one buffer changes undo in another.
Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 0688fcc23..8d8c954f7 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -7594,7 +7594,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'undolevels'* *'ul'* 'undolevels' 'ul' number (default 100, 1000 for Unix, VMS, Win32 and OS/2) - global + global or local to buffer |global-local| {not in Vi} Maximum number of changes that can be undone. Since undo information is kept in memory, higher numbers will cause more memory to be used @@ -7605,8 +7605,9 @@ A jump table for the options with a short description can be found at |Q_op|. < But you can also get Vi compatibility by including the 'u' flag in 'cpoptions', and still be able to use CTRL-R to repeat undo. Also see |undo-two-ways|. - Set to a negative number for no undo at all: > - set ul=-1 + Set to -1 for no undo at all. You might want to do this only for the + current buffer: > + setlocal ul=-1 < This helps when you run out of memory for a single change. Also see |clear-undo|. |