Sometimes I see pre-defined shortcuts in macOS where one part of them are using the second level of keys, e.g. stroke "/" of the key 7. As everybody knows, at least this secondary level can be accessed by the shift key.

Well, coming from this pattern, I was a bit confused about such kind of pre-defined shortcuts: command+option+/. My initial assumption to utilize these kind of shortcut was to use modifiers like this command+option+shift+7, which wasn't working well unfortunately.

My assumption is that I have a fundamental misunderstanding in using secondary key strokes in shortcuts. Can you help me out with this?

  • Where exactly did you run into this issue, and with which keyboard layout? I justed tested Cmd-+ in Safari, had to type Cmd-Shift-1 on the Swiss keyboard to get the page to zoom as expected (Cmd-1 switches to the first tab). – nohillside Jan 3 at 9:03
  • I have seen this in Xcode. The keyboard I have is German. So you mean it could be reasoned by keyboard layout differences that are not considered in the pre-defined shortcut definitions? – Maschina Jan 3 at 10:00
  • I just tested it here: To trigger "Toggle Comments" I need to press Cmd-Shift-7 (as / is Shift-7) as expected. Do you have some other software running which captures keystrokes? – nohillside Jan 3 at 10:12
  • Hm, interesting. Honestly, I don't know what other software is capturing exactly that keystroke (already exited all other obviously open or running software), but if it working for you, it might be an issue with Xcode itself (overlapping pre-defined shortcuts that block themselves)... – Maschina Jan 3 at 11:59

You must log in to answer this question.

Browse other questions tagged .