← Other topics

VSCode - Keyboard shortcuts to increase font size instead of zooming window

Video Notes

Choose your operating system to customize the notes

Mac Windows Linux

In VSCode the default keyboard shortcuts for zooming in/out are as follows:

When you use these shortcuts, it zooms the entire interface, but more often than not, I just want to zoom the editor pane where my code is.

To address this, I show in the above video how to make the following keyboard shortcut changes:

Here are the JSON settings if you want to quickly add them to your keybindings.json file:

{
    "key": "cmd+=", 
    "command": "-workbench.action.zoomIn" // Removes the default shortcut of zooming in interface with cmd +
},
{
    "key": "cmd+=",
    "command": "editor.action.fontZoomIn" // Adds the shortcut of zooming in editor with cmd + 
},
{
    "key": "cmd+-",
    "command": "-workbench.action.zoomOut" // Removes the default shortcut of zooming out interface with cmd -
},
{
    "key": "cmd+-",
    "command": "editor.action.fontZoomOut" // Adds the shortcut of zooming out editor with cmd -
}

Unlock all the notes for $4

No subscriptions, no auto-renewals.

Just a simple one-time payment that helps support my free, to-the-point videos without sponsered ads.

Unlocking gets you access to the notes for this video plus all 200+ guides on this site.

Your support is appreciated. Thank you!

Payment Info

/
$4 6 months
$25 forever
Please check the form for errors
Questions? help@codewithsusan.com
← Other topics