'Replace' shortcut in editor for R2022

In R2022, when I'm editing a mfile, is there a keyboard shortcut to replace text in the mfile? If I use CNTL F, the Find window opens and I have to manually select Replace from a dropdown menu. I think in R2021, the Find window had Replace already enabled, and maybe I could use CTRL R to replace text.

 Accepted Answer

Ctrl-H

6 Comments

KAE
KAE on 25 Apr 2022
Edited: KAE on 25 Apr 2022
This will save me a ton of time.
How did you find this? It's not listed here. (Just want to make sure I'm not missing out on other useful text editing functions).
I don't remember having to find this. I've just always used it.
It is a pretty common shortcut for search-and-replace in a lot of different software (Microsoft Office, for example).
I am glad to know about it, so thanks.
You are quite welcome.
In the "Find" dropdown you have a list of find actions, alongside their shortcuts. Below is a screenshot taken with a Windows machine.
That's great, thanks.

Sign in to comment.

More Answers (0)

Categories

Tags

Asked:

KAE
on 25 Apr 2022

Commented:

KAE
on 26 Apr 2022

Community Treasure Hunt

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

Start Hunting!