If a shortcut you set doesn’t work as expected, one of the following may be the cause:
The shortcut is already assigned to another command.
For certain combinations of character keys and modifier keys, text input takes precedence over invoking the command.