summaryrefslogtreecommitdiff
path: root/runtime/doc/undo.txt
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2010-06-27 05:18:54 +0200
committerBram Moolenaar <bram@vim.org>2010-06-27 05:18:54 +0200
commitfc3f14cde58cb474677137a64de5d9bec6015d7e (patch)
tree43d25556dff4c0c0cfd617cf66694b3f16d67806 /runtime/doc/undo.txt
parent8577e4bf7f01b0dbb80c20cb32ac8deebe4fc171 (diff)
downloadvim-fc3f14cde58cb474677137a64de5d9bec6015d7e.tar.gz
Added ":earlier 1f" and ":later 1f".
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r--runtime/doc/undo.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt
index 1ed2ecd0..d1433d5b 100644
--- a/runtime/doc/undo.txt
+++ b/runtime/doc/undo.txt
@@ -145,6 +145,16 @@ g- Go to older text state. With a count repeat that many
:earlier {N}s Go to older text state about {N} seconds before.
:earlier {N}m Go to older text state about {N} minutes before.
:earlier {N}h Go to older text state about {N} hours before.
+:earlier {N}d Go to older text state about {N} days before.
+
+:earlier {N}f Go to older text state {N} file writes before.
+ When changes were made since the laste write
+ ":earlier 1f" will revert the text to the state when
+ it was written. Otherwise it will go to the write
+ before that.
+ When at the state of the first file write, or when
+ the file was not written, ":earlier 1f" will go to
+ before the first change.
*g+*
g+ Go to newer text state. With a count repeat that many
@@ -154,6 +164,11 @@ g+ Go to newer text state. With a count repeat that many
:later {N}s Go to newer text state about {N} seconds later.
:later {N}m Go to newer text state about {N} minutes later.
:later {N}h Go to newer text state about {N} hours later.
+:later {N}d Go to newer text state about {N} days later.
+
+:later {N}f Go to newer text state {N} file writes later.
+ When at the state of the last file write, ":later 1f"
+ will go to the newest text state.
Note that text states will become unreachable when undo information is cleared