How do I get fine-grained undo in Vim

Posted by MDCore on Stack Overflow See other posts from Stack Overflow or by MDCore
Published on 2010-05-24T07:56:57Z Indexed on 2010/05/24 8:01 UTC
Read the original article Hit count: 327

Filed under:
|

I find Vim's undo to be a bit too coarse. E.g. if I type something like this:

a // to go into edit mode
to be or not to ve
<esc> // to exit insert mode

Oops! I made a typo. I want to start undoing so I press u, but then it clears the whole line. Is there a way to undo word-by-word or character-by-character?

© Stack Overflow or respective owner

Related posts about vim

Related posts about undo