Hello,
I am a new user and am trying to learn how to modify keyboard shortcuts.
I am using OSX 10.14 and Mathematica 12.0.
Say the default file is /Applications/Mathematica.app/Contents/SystemFiles/FrontEnd/TextResources/Macintosh/KeyEventTranslations.tr
and the user file is /Users/matt/Library/Mathematica/SystemFiles/FrontEnd/TextResources/Macintosh/KeyEventTranslations.tr
My understanding is I should copy the default file to the user file and then make my changes in the user file. However, whether I make changes in either the default file or the user file, these changes never take effect. For example in both files I commented the following line: (* Item[KeyEvent["2", Modifiers -> {Control}], "Radical"], *)
And I added something which I copied directly from this stack post
Item[KeyEvent["w", Modifiers -> {Control, Shift}],
FrontEnd`FrontEndExecute[{
FrontEnd`FrontEndToken["SelectGeneratedCells"],
FrontEnd`FrontEndToken["Clear"]
}]]
However, even after restarting Mathematica, Control-2 still inputs the radical and Control-Shift-W still does nothing.