I'll put the conversion logic into a new function named `vimKeyToCmKey()`.