Is there a command to undo the last operation performed while in insert mode?
I just pasted text from the wrong register using <C-r>
, and I have two options:
- Delete by hand what I just pasted and start over.
- Switch to normal mode, hit
u
and lose the text I typed before hitting<C-r>
.
Is there a better way?