diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-09-19 19:01:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-09-19 19:01:21 +0200 |
commit | 24ea3babeda2d2b789c6452962864624de1310f0 (patch) | |
tree | 2bf9898d29896fc3e570aca045d0e938f905d8e2 /runtime/doc/undo.txt | |
parent | 60bb4e1b46e94284558e37016733474b030cab47 (diff) | |
download | vim-git-24ea3babeda2d2b789c6452962864624de1310f0.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r-- | runtime/doc/undo.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index 3c47db7f3..afa959b1a 100644 --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -1,4 +1,4 @@ -*undo.txt* For Vim version 7.3. Last change: 2010 Jul 20 +*undo.txt* For Vim version 7.3. Last change: 2010 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -125,9 +125,9 @@ This is explained in the user manual: |usr_32.txt|. *:undol* *:undolist* :undol[ist] List the leafs in the tree of changes. Example: - number changes time ~ + number changes time saved ~ 4 10 10:34:11 - 18 4 11:01:46 + 18 4 11:01:46 7 The "number" column is the change number. This number continuously increases and can be used to identify a @@ -135,6 +135,9 @@ This is explained in the user manual: |usr_32.txt|. 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. + The "saved" column specifies, if this change was + written to disk and which file write it was. This can + be used with the |later| and |earlier| commands. For more details use the |undotree()| function. *g-* @@ -148,7 +151,7 @@ g- Go to older text state. With a count repeat that many :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 + When changes were made since the last write ":earlier 1f" will revert the text to the state when it was written. Otherwise it will go to the write before that. @@ -324,8 +327,8 @@ Writing an undo file may fail for these reasons: A file exists with the name of the undo file to be written, but it does not start with the right magic number. You may want to delete this file or rename it. -"Skipping undo file write, noting to undo" - There is no undo information not be written, nothing has been changed +"Skipping undo file write, nothing to undo" + There is no undo information to be written, nothing has been changed or 'undolevels' is negative. *E829* An error occurred while writing the undo file. You may want to try again. |