diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 15:42:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 15:42:07 +0100 |
commit | b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d (patch) | |
tree | dc432e1b5129a6cdddf67ae6468e72315a0452b6 /runtime/doc/undo.txt | |
parent | cd6ad6439da2ee2d1a8a6934c9d69e9c2664ba55 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r-- | runtime/doc/undo.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index 34d8054333..cc33482473 100644 --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -105,13 +105,13 @@ change again. But you can do something like this: > After this a "u" command will undo the delete command and the previous change. - *undo-break* -To do the opposite, break a change into two undo blocks, in Insert mode use -CTRL-G u. This is useful if you want an insert command to be undoable in + *undo-break* *undo-close-block* +To do the opposite, use a new undo block for the next change, in Insert mode +use CTRL-G u. This is useful if you want an insert command to be undoable in parts. E.g., for each sentence. |i_CTRL-G_u| -Setting the value of 'undolevels' also breaks undo. Even when the new value -is equal to the old value. In |Vim9| script: > +Setting the value of 'undolevels' also closes the undo block. Even when the +new value is equal to the old value. In |Vim9| script: > &undolevels = &undolevels In legacy script: > let &undolevels = &undolevels |