VS Code Key Binding for quick switch between terminal screens?

后端 未结 4 2053
鱼传尺愫
鱼传尺愫 2021-01-31 02:46

I\'m trying to figure out if there is a way to set up a key binding to allow a quick switch between the terminal windows I have open in the built in terminal rather than having

4条回答
  •  無奈伤痛
    2021-01-31 03:27

    Based on Haini answer, Add the code below to your keybindings.json

    {
      "key": "shift+up",
      "command": "workbench.action.terminal.focusPrevious",
      "when": "terminalFocus"
    },
    {
      "key": "shift+down",
      "command": "workbench.action.terminal.focusNext",
      "when": "terminalFocus"
    }
    

    Now, you can switch between terminals using shift + down or shift + up

提交回复
热议问题