After configuring shortcuts over and over again, I want to add them to my Ansible dotfile setup.
Did anybody already build an Ansible role to configure OSX keyboard shortcuts?
If not, I came across the following angles to pursue this by myself and am not sure what's the best to use:
defaults write -g NSUserKeyEquivalentsfrom here which can be used to set keyboard shortcuts from the CLI
~/Library/Preferences/.GlobalPreferences.plistfrom here which seems to be harder to maintain as it stores the config as is
- Use Hammerspoon which seems to do the trick but may be a bit to much for this minor config
I prefer the first, even the syntax is not the easiest either.
Anybody has any takes on this and already uses either or?
That's the click config I meant: