Fix vim repeat feature for non-qwerty layouts.
Fix macro playback for non-qwerty layouts.