This repository was archived by the owner on Apr 6, 2018. It is now read-only.
This repository was archived by the owner on Apr 6, 2018. It is now read-only.
vim inserts are interrupted by cursor movement, vim-mode inserts aren't #565
Closed
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 on2
- type
iab<right>cd<esc>
– you will have1ab2cd34
in the text editor - typing
u
should only undocd
, typing.
should only insertcd
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.
Metadata
Metadata
Assignees
Labels
No labels