summaryrefslogtreecommitdiff
path: root/runtime/doc/undo.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-16 21:41:35 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-16 21:41:35 +0000
commitefd2bf158afeb2337dcb5a62c6198d6d2fb7cd5f (patch)
treeb1eedda1b33b2b2d3901094c20f4b10362ec2b83 /runtime/doc/undo.txt
parentd3667a2e2971a879194084f4b61b8ff7ff9765a2 (diff)
downloadvim-git-efd2bf158afeb2337dcb5a62c6198d6d2fb7cd5f.tar.gz
updated for version 7.0226
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r--runtime/doc/undo.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt
index fdfa71df6..e34d30d59 100644
--- a/runtime/doc/undo.txt
+++ b/runtime/doc/undo.txt
@@ -1,4 +1,4 @@
-*undo.txt* For Vim version 7.0aa. Last change: 2006 Mar 14
+*undo.txt* For Vim version 7.0aa. Last change: 2006 Mar 16
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -23,6 +23,9 @@ u Undo [count] changes. {Vi: only one level}
*:u* *:un* *:undo*
:u[ndo] Undo one change. {Vi: only one level}
+:u[ndo] {N} Jump to after change number {N}. See |undo-branches|
+ for the meaning of {N}. {not in Vi}
+
*CTRL-R*
CTRL-R Redo [count] changes which were undone. {Vi: redraw
screen}
@@ -114,6 +117,19 @@ What matters here is the order in which the changes are made. Undo and redo
are not considered changes in this context. After each change you have a new
state of the text.
+ *:undol* *:undolist*
+:undol[ist] List the leafs in the tree of changes. Example:
+ number changes time ~
+ 4 10 10:34:11
+ 18 4 11:01:46
+
+ The "number" column is the change number. This number
+ continuously increases and can be used to identify a
+ specific undo-able change, see |:undo|.
+ The "changes" column is the number of changes to this
+ leaf from the root of the tree.
+ The "time" column is the time this change was made.
+
*g-*
g- Go to older text state. With a count repeat that many
times. {not in Vi}
@@ -132,6 +148,7 @@ g+ Go to newer text state. With a count repeat that many
:later {N}m Go to newer text state about {N} minutes later.
:later {N}h Go to newer text state about {N} hours later.
+
Note that text states will become unreachable when undo information is cleared
for 'undolevels'.