Integrated Terminal Shortcut in VS Code Opens External Terminal

For quite a while I’ve been slightly annoyed by the behaviour that the keyboard shortcut in Visual Studio Code didn’t open the integrated terminal if I also had an external terminal open, it was switching to that one instead.

Googling the problem didn’t help me come closer to an explanation, which I suspected had to do with the language/keyboard specific nature of this issue. As you can see in the image below, the default keyboard shortcut to open the integrated terminal on my machine is Ctrl + ΓΆ.

Integrated terminal shortcut on my machine

Integrated terminal shortcut on my machine

Now when I was in the process of setting up oh-my-posh in ConEmu and playing with Quake style, I found an explanation. ConEmu/Cmder uses the same keyboard shortcut for Minimize/Restore as VS Code does for its integrated terminal. Since ConEmu listens for this shortcut even when the program isn’t active (in focus), it overrides the shortcut in VS Code.

ConEmu keyboard shortcut settings with conflicting configuration

ConEmu keyboard shortcut settings with conflicting configuration

Changing the shortcut in ConEmu solves the problem. One annoyance less 😊

ConEmu keyboard shortcut settings without conflicting configuration

ConEmu keyboard shortcut settings without conflicting configuration

No matching posts found. You can use wildcards and search only in titles, e.g. title:iot
Loading search index, please try again in a few seconds.
Index has completed downloading. Please search again.