objectuser
objectuser

Reputation: 671

Unbind ZoomIn in Visual Studio Code

I'm using a Mac and would like to use cmd+= to switch between open windows in VSCode (1.6.1).

By default that key is bound to workbench.action.zoomIn.

I tried following these instructions to unbind that key, but so far have not had success.

In keybindings.json, I have:

  { "key": "cmd+=",                 "command": "-workbench.action.zoomIn" },

This doesn't seem to have any impact, however, as I still am able to zoom in with cmd+=.

What am I doing wrong here?

Upvotes: 1

Views: 152

Answers (1)

Wosi
Wosi

Reputation: 45243

Unbinding seems to be broken. You should consider filing a bug here: https://github.com/Microsoft/vscode/issues

would like to use cmd+= to switch between open windows in VSCode

Then you don't need to unbind the current shortcut for workbench.action.zoomIn first. Just create a new keybinding like this one to overwrite the existing one:

{
  "key": "cmd+=",
  "command": "workbench.action.switchWindow"
}

Upvotes: 2

Related Questions