Visual Studio Code有一个热键组合来将当前窗口分割为2或3个窗格:
"key": "ctrl + \", "command": "workbench.action.splitEditor"
不幸的是,我无法在没有鼠标的情况下在这些窗格之间切换。我以前用F6的习惯也不管用了。
Visual Studio代码编辑器是否支持它?
Visual Studio Code有一个热键组合来将当前窗口分割为2或3个窗格:
"key": "ctrl + \", "command": "workbench.action.splitEditor"
不幸的是,我无法在没有鼠标的情况下在这些窗格之间切换。我以前用F6的习惯也不管用了。
Visual Studio代码编辑器是否支持它?
当前回答
cmd + option +左/右箭头为我工作。
其他回答
你要找的是workbench.action.terminal.focusNextPane:
{
"key": "alt+down",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+right",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
如果您习惯在vim(和/或tmux)中工作,并希望使用ctrl+hjkl四处移动
将这些添加到keybindings.json中
[
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
}
]
cmd + option +左/右箭头为我工作。
在Mac:
Move Editor Left ⌘K← workbench.action.moveEditorLeftInGroup
Move Editor Right ⌘K→ workbench.action.moveEditorRightInGroup
如果你指的是编辑组,这就是。