Lines Matching refs:change
1 *usr_32.txt* For Vim version 8.2. Last change: 2010 Jul 20
9 change you create a branch in the undo tree. This text is about moving
49 make a new change. The new changes become a branch in the undo tree.
51 Let's start with the text "one". The first change to make is to append
52 " too". And then move to the first 'o' and change it into 'w'. We then have
57 change 1
61 change 2
65 If we now undo one change, back to "one too", and change "one" to "me" we
70 change 1
74 change 2 change 3
84 are not considered changes in this context. After each change you have a new
88 no identifier. They are mostly referred to by the number of the change above
90 when moving up in the tree, so that you know which change was just undone.
99 The text is now "one two", you are below change 2. You can use the |:undo|
100 command to jump to below any change in the tree.
102 Now make another change: change "one" to "not":
106 change 1
110 change 2 change 3
114 change 4
118 Now you change your mind and want to go back to "me too". Use the |g-|
120 downwards, but goes to the change made before.
122 You can repeat |g-| and you will see the text change:
135 Using |:undo| is useful if you know what change you want to jump to. |g-| and
136 |g+| are useful if you don't know exactly what the change number is.
153 Here you can see the number of the leaves in each branch and when the change
154 was made. Assuming we are below change 4, at "not two", you can go back ten