MacOS – How to import the OSX Keyboard Shortcuts


After a clean OS install, is there any way to recover my OS Keyboard Shortcuts from a backup of my previous User folder?

Is is somewhere in Library/Preferences?

I tried copying ~/Library/Preferences/ (based on another thread here) but that did not seem to work.

(I'm referring to various shortcuts set up in System Preferences > Keyboard > Shortcuts, particularly > 'App Shortcuts')

Best Answer

See Where are keyboard shortcuts stored (for backup and sync purposes)? which mentions some relevant files in ~/Library.

(Also helpful: Globally edit all keyboard shortcut settings – which talks about manually adding/editing shortcuts.)

Copying ~/Library/Preferences/.GlobalPreferences.plist from my old account worked, however, I had to log out and do it from a separate account, otherwise OSX will undo any changes to the file.