I never (intentionally) hide an app with H, which could be rebound for each app (e.g. Finder), but this is obviously the wrong approach. So, (how) can you disable H for application-hiding in one fell swoop? enter image description here

  • Man, I wish there was a way to do what the OP wants. Is there some kind of regex-like syntax to enable remapping "System" shortcuts in ~/Library/Preferences/.GlobalPreferences.plist, as the OP hinted at in the screen shot? The problem is that the shortcuts attach to menu item strings, but the quit and hide commands are always prefixed with the application's name :( – Mac Cowell Mar 29 '15 at 3:52

You might use a private.xml like this with Karabiner (formerly KeyRemap4MacBook):

<?xml version="1.0"?>
    <autogen>__KeyToKey__ KeyCode::H, VK_COMMAND | ModifierFlag::NONE, KeyCode::VK_NONE</autogen>
  • 2
    What if I want to use the keystroke for something else? VK_NONE means that if you hit that key, apps see nothing happening. – user47093 Jul 7 '15 at 15:05
  • 1
    Who answered this, i do not see the user? But either way this was freaking genius, i have hated this for so long. And have added several of these Hide {Stupid Thing} in System Prefs. No more finally. Thank you!!!!!!!!!!!!!!!! – j_walker_dev Jul 30 '15 at 11:27

In addition to the accepted answer, this can be accomplished easily with BetterTouchTool.

Open BTT Preferences. If it isn't selected already, select Gestures.

Under Select Application, select Global.

Add a New Shortcut: H and leave the Trigger set to No Action.

BetterTouch Tool Gestures

Close the Preferences window, and H should now be disabled for all applications.

The downside compared to the accepted answer is that this fix involves running an application. However since many Mac users are already running BTT in the background for other purposes, this fix can be done in a few seconds and might be simpler for some users.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .