diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-27 05:18:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-27 05:18:54 +0200 |
commit | 730cde924cea50977bdbfa5b977180bfaa188a27 (patch) | |
tree | c0570ec54157923527d3da2d10c31782738d532d /runtime/doc/undo.txt | |
parent | a800b42975f7a62282cb90d8c61ef3cff2fe810a (diff) | |
download | vim-git-730cde924cea50977bdbfa5b977180bfaa188a27.tar.gz |
Added ":earlier 1f" and ":later 1f".
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r-- | runtime/doc/undo.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index 1ed2ecd05..d1433d5bc 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 |