sor*_*abz 3 keyboard-shortcuts tmux windows-terminal
信息技术协会
如果我使用,我可以看到一些在Windows Terminalctrl+shift+p
中创建窗格的快捷方式,例如用于创建水平窗格和用于创建垂直窗格。alt+shift+-
alt+shift+plus
但我没有找到任何在创建后无需在命令面板中单击鼠标即可在窗格之间切换的内容。
注意:我喜欢在tmux之类的窗格之间切换,并使用一些类似于tmux
ctrl+b+left/right
“如何做到这一点?”的快捷方式。
我的问题之前发布在堆栈溢出上,并因离题问题而关闭。
我在 Bing 中搜索后,在 Windows Terminal手册中找到了 Panes ,该手册中有一个部分,名称为Switching acrosspanes。正如您在本手册中看到的,要在窗格之间切换,您必须使用alt+down/up/left/right
(下/上/左/右是键盘中的箭头键)
如果您想更改这些命令(如tmux),您可以添加以下配置settings.json
(找到ctrl+,
并单击“打开 JSON 文件”)
{ "command": { "action": "moveFocus", "direction": "down" }, "keys": "ctrl+b+down" },
{ "command": { "action": "moveFocus", "direction": "left" }, "keys": "ctrl+b+left" },
{ "command": { "action": "moveFocus", "direction": "right" }, "keys": "ctrl+b+right" },
{ "command": { "action": "moveFocus", "direction": "up" }, "keys": "ctrl+b+up" },
{ "command": { "action": "moveFocus", "direction": "previous" } },
{ "command": { "action": "moveFocus", "direction": "previousInOrder" } },
{ "command": { "action": "moveFocus", "direction": "nextInOrder" } }
Run Code Online (Sandbox Code Playgroud)
我的答案之前发布在堆栈溢出上,并关闭我的题外话。
归档时间: |
|
查看次数: |
2135 次 |
最近记录: |