How do I disable the Minimize (command-M) shortcut in Mavericks?
Solution 1:
You don't need to install any additional software.
Go to System Preferences > Keyboard > Shortcuts > App Shortcuts
Click the button below
Enter "Minimize" (use "Minimize All" to override minimizing all windows with ⌥⌘M) into the Menu Title text input field.
Assign some bizzare key combination that you won't press by accident.
Repeat steps three and four for "Minimise" (alternate spelling) which is required for some apps.
Close the window to save the changes.
I'm aware that this is not really "disabling it" but the result is effectively the same and without depending on 3rd party software.
Solution 2:
Alternative Solution
I tried to follow setting my own shortcut like Machal has suggested. However it didn't work for me and just doubled the keybinding for minimize.
I did find, that setting something else to CMD+M worked perfectly:
Solution 3:
macOS 10.12 (Sierra):
The accepted answer didn't work for me. But setting the CMD-M
mapping to a different action worked right away:
Go to System Preferences > Keyboard > Shortcuts > App Shortcuts
Check off the Show Help Menu item and
assign it a
CMD-M
key combination.
Not a perfect solution, but still much better than minimizing the window accidentally.