When configuring Ace (the text editor), you can use OS specific keybindings, like {win: “Ctrl-Esc”, mac: “Cmd-Esc”}. This shows that you can have OS specific keybindings in JavaScript, but how is it done? I would like to create shortcuts that use Cmd on OS X and Ctrl on other systems. Answer Unfortunately at this time there is no JavaScript API