Shortcut to switch between editor tabs on MacOS

10 vues (au cours des 30 derniers jours)
Anton Hesse
Anton Hesse le 1 Mar 2020
Commenté : Jop le 3 Mai 2024
Is there a shortcut to switch between tabs within the editor on a mac? On a Windows/PC, the equivalent is Ctrl+Page Up or Ctrl+Page Down. However, macs don't have Page Up or Page Down keys. I know that switching between windows on a mac is Ctrl+Tab and Ctrl+Shift+Tab, but I'm looking for switching between tabs within the editor. I'm running R2019b Update 3.

Réponses (1)

Steven Lord
Steven Lord le 1 Mar 2020
Open the Shortcut subsection in the Keyboard section of the MATLAB top-level item in the Preferences. You can open the Preferences using the Preferences icon in the Environment section of the Home tab of the Toolstrip. Search for the actions "Previous Tab" and "Next Tab" to learn what the keyboard shortcut is in the Macintosh Default Set (I don't know what it is off the top of my head.)
  2 commentaires
Anton Hesse
Anton Hesse le 16 Mar 2020
Modifié(e) : Anton Hesse le 16 Mar 2020
Yep that's it. I found it by taking the following steps:
Home tab >> Environment >> Preferences >> Keyboard >> Shortcuts >> Type "tab" within the search bar.
Next Tab: Control + fn + down arrow key
Previous Tab: Control + fn + up arrow key
(fn + up and down arrow keys on mac = page up and down, respectively.)
Next Window: Control + F6 (Control + fn + F6)
Previous Window: Shift + Control + F6 (Shift + Control + fn + F6)
Jop
Jop le 3 Mai 2024
Thank you. You can also change the shortcuts here, so I'm happily switching tabs with Ctrl+(Shift+)Tab now :-)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by