I'm used to have some keyboard shortcut remapping for menu items via Apple's system preferences -> keyboard pane. Some globals, most of them application specific.
What was working in the past (High Sierra if I'm not mistaken) was something like this:
defaults write com.googlecode.iterm2 NSUserKeyEquivalents -dict-add "Advanced Paste…" -string "@~^v"
defaults read com.googlecode.iterm2 NSUserKeyEquivalents
shows that it has been set, but neither System Preferences (after restart) shows it nor the menu item in iTerm2.
If I enter it manually in System Preferences, the
read command reveals the same (after deleting it before) and the new shortcut is visible in the menu.
This seems to be the case on Catalina for every application and shortcut I previously added via a setup script, e.g. for apps like Safari, Google Chrome, etc.
I also tried
defaults write -app iTerm ...
but it has the exact same effect.
Did anything change on (at least) Catalina? What's the correct way nowadays to do it?