On my keyboard layout, the M key is right next to the W key:
This can be problematic at times because occasionally I will accidentally press Command–M instead of Command–W, causing the window to be minimized rather than closed.
Since there's no keyboard shortcut to un-minimize a window (well ok, no easy keyboard shortcut), this is even more annoying because then I have to switch to my trackpad to un-minimize the window and then try again to close it.
Is there a way to disable the Command–M shortcut for minimizing a window?
Best Answer
You can disable it by editing
~/Library/Preferences/.GlobalPreferences.plist
:To apply the changes you have to reopen applications. If the shortcut was assigned to nil, pressing L would trigger it in Audacity.