Existing answers given in automating-esc-esc-formatting no longer work in 11.2 on Windows 7 for some reason. At least I could not make them work.
It was suggested to open new question to find a solution specific for 11.2+ for Windows.
I do not know when the above solutions stopped working. May be they stopped working before 11.2.
But I have tried them all under 11.2 on Windows 7. None of them work. After editing the file (as administrator)
C:\Program Files\Wolfram Research\Mathematica\11.2\SystemFiles\FrontEnd
\TextResources\Windows\KeyEventTranslations.tr
(I made copy of the file first) and putting the code as is posted in the above linked to answers and then starting Mathematica, then Ctrl+] does nothing. I just hear a beep.
I tried both solutions given above. I also tried making copy of the whole tree to $UserBaseDirectory
instead of making the changes in the C:\
installation folder. It also had no effect.
The keyboard I have is plain standard Logitech keyboard on USB input device. Nothing special. New keyboard and works fine. The OS is Windows 7 home premium.
Since the solutions in the above answer worked before, why do they not work any more? And how to make Ctrl+] and Ctrl+[ work in order to more easily enter [[
and ]]
?
KeyEventTranslations.tr
, make sure that the copy does not have the extension.tr
(or better: just put it in a different folder). $\endgroup$KeyEventTranslations - Copy.tr
but for some reason, Mathematica when it comes up, instead of readingKeyEventTranslations.tr
where I made my changes, it was still reading the fileKeyEventTranslations - Copy.tr
! When I moved the copy to a different folder, now it works! This all makes no sense to me, but it works now. Please feel free to post this as answer. I am sure I am not the only person who will fall into this trap. $\endgroup$.tr
file it finds there or something. $\endgroup$