This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Description
In vim, if you move your cursor around (with mouse or with arrow keys), an insert gets confirmed and a new gets started - they can be undone separately, and only the last part can be redone. To demonstrate:
- have
1234 in the text editor, with cursor on 2
- type
iab<right>cd<esc> – you will have 1ab2cd34 in the text editor
- typing
u should only undo cd, typing . should only insert cd in the current place
But in vim-mode, typing u undoes both ab and cd insertion, and typing . inserts abcd.
See vim docs for more info about this.
I'll now have a quick look if I can fix this easily.