diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-24 20:27:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-24 20:27:03 +0200 |
commit | 59f931ef54d143eb92f9b9168eb74fb061c39294 (patch) | |
tree | bb0116b64dbebf8a2c4f442a0514e8d2ec6f2d26 /runtime/optwin.vim | |
parent | 72ada0f8c2655e365d9284bcc9243e29e5951f04 (diff) | |
download | vim-git-59f931ef54d143eb92f9b9168eb74fb061c39294.tar.gz |
Add the 'undoreload' option to be able to undo a file reload.
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r-- | runtime/optwin.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index c27fbd5d6..404cf8975 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -722,6 +722,8 @@ call <SID>OptionG("km", &km) call <SID>Header("editing text") call append("$", "undolevels\tmaximum number of changes that can be undone") call append("$", " \tset ul=" . &ul) +call append("$", "undoreload\tmaximum number lines to save for undo on a buffer reload") +call append("$", " \tset ur=" . &ur) call append("$", "modified\tchanges have been made and not written to a file") call append("$", "\t(local to buffer)") call <SID>BinOptionL("mod") |