Fix bug on insertion ABCD

Typing suffix of keymapping and arrow-key make unexpected action.