Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

theramajor

macrumors member
Original poster
Jun 17, 2019
55
3
Wisconsin
I typed this command into Terminal now certain ⌥⌘ keyboard shortcuts don’t work. How do revert this command back to original settings?

`defaults write -g NSUserKeyEquivalents -dict-add "Special Characters..." null`
 
They should be configurable in System Preferences → Keyboard → Shortcuts → App Shortcuts → All Applications. The ‑g argument means that it applies globally or to all applications. By default, there should only be one entry there (“Show Help Menu”).

There is no straightforward way to remove a dictionary entry in Terminal other than removing the entire key by using this command:
defaults delete -g NSUserKeyEquivalents

The latter command undoes what you did. This command shouldn’t be a problem, unless you have other shortcuts configured (that is, other than “Show Help Menu”), in which case you would lose them.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.