1

This is a default shortcut for a comment block in virtually every single code editor under the sun and there is no option to disable it under keyboard shortcuts menu in system settings. I actually disabled every single shortcut I found and it still works.

Is it possible to disable it with some terminal shenanigans I do not know about?

3
  • It may just be easier to change the shortcut to Command+/ in your editor. (By the way, the editor I regularly use (CotEditor, available from the Mac App Store) uses Command+/, as Xcode does.) Commented Nov 15, 2024 at 10:59
  • cmd+/ is for line comment and not block comment. I need both. Commented Nov 15, 2024 at 12:23
  • I see, wasn't aware of that... I've found a way to disable Command-Shift-/, could you check my answer and report back? Commented Nov 15, 2024 at 13:36

1 Answer 1

6

CommandShift/ is a global keyboard shortcut (that is, it's enabled for all apps) that moves focus to the Help menu.

Luckily, it can be disabled as follows:

  1. Open System Preferences.

  2. Select Keyboard.

  3. Press the "Keyboard Shortcuts…" button.

  4. Select "App Shortcuts".

  5. Expand "All Applications" and uncheck "Show Help menu":

    Screenshot of the App Shortcuts selection displaying "Show Help menu"

  6. Press Done.

  7. Quit System Settings.

1
  • 1
    yep that was it. I only have "All aplications" in this tab and didn't notice it was collapsed. Thanks! Commented Nov 18, 2024 at 8:29

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.