Disable Command-W Everywhere There was a question on Disable Command-W in the terminal but is there a way to determine Command-W globally on MacOS? I keep accidentally closing my applications.
System Preferences -&gt; Keyboard -&gt; Shortcuts -&gt; App Shortcuts


Just add a new CMD-W shortcut should override the actual behavior. 

Edit: https://discussions.apple.com/thread/7634486