Solution: Toggle between terminal and editor in VSCode

21 Jan 2019

I have been wanting to use VS Code more and more, but I keep finding it frustration to switch between the editor and terminal while using a mouse.

My normal modus operandi is using tmux with three panes:

  1. vim editor
  2. terminal 1
  3. terminal 2

I have a similar setup in VS Code, but having to use the mouse to jump between the editor to terminal resulted in nothing but frustrations.

I finally took the initiative to Google for a solution and found a solution via Stack Overflow, to overload a single key binding with a where clause.

Thanks, wgj!

Migrated from https://micro.queuebit.net/vs-code-switch-terminal/.