I started to learn ViM one month ago, so I'm not a ViM expert.
My question is: if I make some changes in insert mode (let's say I type some text, then I delete the last two words and finally type some other words) and then I press
<ESC> u the entire text I typed in Insert mode disappears. I know the existence of the
<CTRL-G> u command, which breaks the undo history, but I find it annoying typing
<CTRL-G> u every single time I delete something. Is there a way to automate the execution of that command every time I press a key (
<BS>, ...) in insert mode?
Thanks a lot.