Switch focus between editor and integrated terminal in Visual Studio Code

前端 未结 16 1700
我寻月下人不归
我寻月下人不归 2020-12-04 04:07

Does anyone know the keyboard shortcut (Mac and Linux) to switch the focus between editor and integrated terminal in Visual Studio Code?

16条回答
  •  孤街浪徒
    2020-12-04 04:48

    The default keybinding to toggle the integrated terminal is "Ctrl+`" according to VS Code keyboard shortcuts documentation page. If you don't like that shortcut you can change it in your keybindings file by adding something similar to:

    { "key": "ctrl+l", "command": "workbench.action.terminal.toggleTerminal" }
    

    There does not seem to be a default keybinding for simply focusing the bottom panel. So, if you do not want to toggle the bottom panel, you will need to add something similar to the following to your keybindings file:

    { "key": "ctrl+t", "command": "workbench.action.focusPanel" }
    

提交回复
热议问题