# parse keymap like vim