comparison runtime/doc/undo.txt @ 16610:1eaf34420bb3

Update runtime files commit https://github.com/vim/vim/commit/a6c27c47ddf081859659d7de1caec675147e466b Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 9 19:16:22 2019 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 May 2019 19:30:06 +0200
parents 0e473e9e70c2
children 6848b809a26e
comparison
equal deleted inserted replaced
16609:175385d2d3d9 16610:1eaf34420bb3
1 *undo.txt* For Vim version 8.1. Last change: 2019 May 05 1 *undo.txt* For Vim version 8.1. Last change: 2019 May 07
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
17 17
18 ============================================================================== 18 ==============================================================================
19 1. Undo and redo commands *undo-commands* 19 1. Undo and redo commands *undo-commands*
20 20
21 <Undo> or *undo* *<Undo>* *u* 21 <Undo> or *undo* *<Undo>* *u*
22 u Undo [count] changes. {Vi: only one level} 22 u Undo [count] changes.
23 23
24 *:u* *:un* *:undo* 24 *:u* *:un* *:undo*
25 :u[ndo] Undo one change. {Vi: only one level} 25 :u[ndo] Undo one change.
26 *E830* 26 *E830*
27 :u[ndo] {N} Jump to after change number {N}. See |undo-branches| 27 :u[ndo] {N} Jump to after change number {N}. See |undo-branches|
28 for the meaning of {N}. 28 for the meaning of {N}.
29 29
30 *CTRL-R* 30 *CTRL-R*
31 CTRL-R Redo [count] changes which were undone. {Vi: redraw 31 CTRL-R Redo [count] changes which were undone.
32 screen}
33 32
34 *:red* *:redo* *redo* 33 *:red* *:redo* *redo*
35 :red[o] Redo one change which was undone. {Vi: no redo} 34 :red[o] Redo one change which was undone.
36 35
37 *U* 36 *U*
38 U Undo all latest changes on one line, the line where 37 U Undo all latest changes on one line, the line where
39 the latest change was made. |U| itself also counts as 38 the latest change was made. |U| itself also counts as
40 a change, and thus |U| undoes a previous |U|. 39 a change, and thus |U| undoes a previous |U|.
41 {Vi: while not moved off of the last modified line}
42 40
43 The last changes are remembered. You can use the undo and redo commands above 41 The last changes are remembered. You can use the undo and redo commands above
44 to revert the text to how it was before each change. You can also apply the 42 to revert the text to how it was before each change. You can also apply the
45 changes again, getting back the text before the undo. 43 changes again, getting back the text before the undo.
46 44