我知道您可以在 Mac 终端中使用shift cmd [箭头键]切换选项卡,但是到达箭头键很痛苦。如何更改默认键绑定?
小智 62
在 Sierra(El Capitan 及更早版本)之前, 
小智 57
您可以在系统偏好设置中更改几乎所有 Cocoa 应用程序的键绑定,包括 Terminal.app。
转到System Preferences > Keyboard > Shortcuts > App Shortcuts,然后为终端添加一个新的快捷方式(位于 /Applications/Utilities 中)。
小智 6
1:安装SIMBL(插件启动器):http : //www.culer.net/software/SIMBL/SIMBL.php
2:安装TerminalTabSwitching.bundle
git clone https://github.com/dabeeeenster/terminaltabswitching
cp -r terminaltabswitching/TerminalTabSwitching.bundle "/Library/Application Support/SIMBL/Plugins"
Run Code Online (Sandbox Code Playgroud)
3:重新启动终端应用程序,并享受Cmd+[0-9]标签切换。
仅供参考:如果plugin is not verified in terminal version # (a number)再次打开终端时出现类似的信息,也许以下信息会有所帮助。
(1)打开
/Library/Application\ Support/SIMBL/Plugins/Terminal/TerminalTabSwitching.bundle/Contents/Info.plist
Run Code Online (Sandbox Code Playgroud)
下使用您最喜欢的文本编辑器sudo。
(2)搜索<key>MaxBundleVersion</key>。
(3)<string>280</string>在下一行更改为您的终端版本号或更高版本,如<string>300</string>. 节省。
(4)退出终端并重新打开它。希望该提示会消失,您可以Cmd+[0:9]用于选项卡切换。
| 归档时间: |
|
| 查看次数: |
70032 次 |
| 最近记录: |