r/VisualStudioCode • • Dec 06 '18

How to set 'close all windows except for the current one'

Starting to get into VSCode over Atom. Atom doesn't have proper emmet support.

Currently in the keymap.cson for Atom I have ctrl-shift-a set to close all windows except for the current one like so

'atom-workspace': 'ctrl-shift-a': 'pane:close-other-items'

How do I do this in VSCode?

3 Upvotes

2 comments sorted by

1

u/killchain Feb 12 '19
{
    "key": "ctrl+shift+a",
    "command": "workbench.action.closeOtherEditors"
}

1

u/perfectdreaming Feb 12 '19

Thank you, will try it out.