Shortcut to switch between editor tabs on MacOS

11 次查看(过去 30 天)
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.

回答(1 个)

Steven Lord
Steven Lord 2020-3-1
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 个评论
Anton Hesse
Anton Hesse 2020-3-16
编辑:Anton Hesse 2020-3-16
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 2024-5-3
Thank you. You can also change the shortcuts here, so I'm happily switching tabs with Ctrl+(Shift+)Tab now :-)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by