[vim] undo changes separately after replaying actions and operators

Little patch to fix the bug where various changes are undone together instead of one at a time.