Undo many times in Vim? -
suppose state in document, make change b, c d. typed 'u', state goes c. type 'u' again goes d. (the second undo looks redo me).
in understanding, undo means undo once return c, undo again return b undo again return a.
also, know 'u3' can work here in cases have no way keep track of number of state changes.
how can achieve unlimited undo in vim?
you have 1 level of undo if in vi compatible mode. missing out on number of features being in 'compatible'
mode. create ~/.vimrc
file , automatically disable 'compatible'
mode.
what wonderful undo features using 'nocompatible'
?
- unlimited undo
- persistent undo
- undo branches (like undo tree)
Comments
Post a Comment