File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,13 @@ change again. But you can do something like this: >
105
105
106
106
After this a "u" command will undo the delete command and the previous
107
107
change.
108
- *undo-break*
109
- To do the opposite, break a change into two undo blocks , in Insert mode use
110
- CTRL-G u. This is useful if you want an insert command to be undoable in
108
+ *undo-break* *undo-close-block *
109
+ To do the opposite, use a new undo block for the next change , in Insert mode
110
+ use CTRL-G u. This is useful if you want an insert command to be undoable in
111
111
parts. E.g., for each sentence. | i_CTRL-G_u |
112
112
113
- Setting the value of 'undolevels' also breaks undo. Even when the new value
114
- is equal to the old value. In | Vim9 | script: >
113
+ Setting the value of 'undolevels' also closes the undo block . Even when the
114
+ new value is equal to the old value. In | Vim9 | script: >
115
115
&undolevels = &undolevels
116
116
In legacy script: >
117
117
let &undolevels = &undolevels
You can’t perform that action at this time.
0 commit comments