12
$\begingroup$

I hit Ctrl+= at least once a week and it always takes forever to load and is generally useless. I know SW likes it because he uses it all the time in the livestreams, but I truly hate it. I'll make a new WA cell if I want that.

Most recently it entirely crashed the PresenterTools system because I accidentally hit it and the letter P.

Is it possible to easily disable or do I have to go to KeyEventTranslations.tr?

$\endgroup$
2
  • $\begingroup$ This annoys me also. Good to know that I am not alone! Even more annoying: <kbd>Shift</kbd>+<kbd>8</kbd> at the beginning of an input cell. This cannot be undone by using backspace and really disturbs the flow! $\endgroup$ May 21, 2018 at 8:24
  • $\begingroup$ @HenrikSchumacher I also don't particularly like that one. On the other hand it's actually nice enough to fix. Look at StyleKeyMapping. You can unset that one for Input at the stylesheet level and never see it again :) $\endgroup$
    – b3m2a1
    May 21, 2018 at 8:25

1 Answer 1

11
$\begingroup$

enter image description here

{$InstallationDirectory} / SystemFiled / FrontEnd / TextResources / {OS} / MenuSetup.tr

One can set it up on a corresponding path in $UserBaseDirectory (search around for MenuSetup.tr or KeyEventsTranslation.tr topics to see details).

Then delete MenuKey[..] part and done.

Unless we can find a FE option which governs that shortkey I don't think there is other solution.

If it was a front end token or we knew the MenuCommand associated with that action we could:

SetOptions[$FrontEnd,
  FrontEndEventActions :> {
    {"MenuCommand",(*Inline Free-form Input*)} :> {}}
]

but it is not the case. Fortunately editing menu setup works well.

$\endgroup$
1
  • 1
    $\begingroup$ On a Mac, this file seems to be FileNameJoin[{$InstallationDirectory, "SystemFiles", "FrontEnd", "TextResources", "Macintosh", "MenuSetup.tr"}] $\endgroup$
    – Michael E2
    May 21, 2018 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.