Mac - 用于在 Xcode、终端、Safari、Firefox 中循环选项卡的键盘快捷键

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12221400/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:23:27  来源:igfitidea点击:

Mac - Keyboard shortcut for cycling through tabs in Xcode, Terminal, Safari, Firefox

xcodemacostabsterminal

提问by Darren

I'm running Xcode 4.4 on Mountain Lion.

我在 Mountain Lion 上运行 Xcode 4.4。

Is there a keyboard shortcut for cycling through open tabs in a window?

是否有用于循环浏览窗口中打开的选项卡的键盘快捷键?

I know that COMMAND+`cycles through the Xcode windows, but I want to cycle through tabs.

我知道COMMAND+`在 Xcode 窗口中循环,但我想在选项卡中循环。

Is there a keyboard shortcut for this?

是否有键盘快捷键?

回答by jahroy

This works for Terminal, Xcode, Safari, Firefox, and probably many others:

这适用于终端、Xcode、Safari、Firefox 和可能的许多其他:

Previous Tab: COMMAND+{

上一个标签:COMMAND+{

Next Tab: COMMAND+}

下一个标签:COMMAND+}

It's easy to remember:

很容易记住:

  • the braces point left and right (towards the tabs they activate)
  • the keys are positioned conveniently next to each other on the keyboard.
  • 大括号指向左右(朝向它们激活的选项卡)
  • 按键在键盘上并排放置,非常方便。

回答by JBallin

Here's an alternative way to cycle tabs across Mac apps: ctrl+tab

这是在 Mac 应用程序之间循环选项卡的另一种方法:ctrl+tab

Add shiftto toggle direction.

添加shift到切换方向。