How to remove Reset Zoom keyboard shortcut?

The keyboard shortcut for "Reset Zoom" is the same as for my close brakets key (}), which means I can never place curly brackets on my live scripts. I tried to go in the settings, but, for some reason, there isn't an option to change or remove this shortcut. How can I change this setting otherwise?

2 Comments

Default shortcut for "Reset Zoom" is "ctrl+alt+0" which in general does not coincide with close brackets "}" key which is "shift+]". I'm wondering how these two might be same. Did you change anything?
This might be true for most keyboard standards, but I use the Portuguese standard, whose key for "}" is "ctrl+alt+0".

Sign in to comment.

 Accepted Answer

Hello Renan,
Unfortunately, there isn't a direct option available in the preferences to disable the "Reset Zoom" shortcuts. However, you can easily disable it by adjusting the MATLAB settings as outlined below:
s = settings;
s.matlab.editor.displaysettings.DisableResetZoomKeyboardShortcut.TemporaryValue = 1;
For more detailed instructions, please refer to the documentation provided below.

1 Comment

Extremely valuable answer. Solved the problem. Thank you!

Sign in to comment.

More Answers (0)

Categories

Find more on Scripts in Help Center and File Exchange

Products

Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!