Enable Slash `/` as accelerator for globalShortcut


#1

According to the documentation (and through testing) the forward slash character / is not a supported globalShortcut accelerator (https://github.com/electron/electron/blob/master/docs/api/accelerator.md).

Is there a functional reason for this decision?

In the electron/atom/common/keyboard_util.cc file it looks like the KeyboardCodeFromCharCode lookup can identify the / character but the KeyboardCodeFromKeyIdentifier doesn’t include it.

On a mac, pressing Cmd+Shift+/ will open the Help > Search menu in every application I’ve tested and I don’t see any core OS-level reason it wouldn’t work.

Thanks!