vi - Vim Undo command (the one with the with capital U) -
i don't understand how undo line command works.
the documentation says undo latest changes on 1 line.
what definition of all latest changes
here.
one behaviour have noticed u undoes writes after first write on line. not consistent. example when open new file edit first line, writing multiple times, u
command undoes every single change.
i haven't been able find concrete google searches either..
in understanding all latest changes means going change history until change in different line encountered, , stop there. if start empty buffer , edit 1 line (repeatedly), additions wiped u
.
vim merges near changes occurring in same line; these appear single entry in :changes
.
Comments
Post a Comment