No keybinding command for Atom tab double-click? Maximize and toggle split editor widths

Viewed 86

I usually use Atom as my editor, and it has an extension "hey-pane" that allows a keyboard shortcut to expand the active editing tab/pane. I'm trying to do this similar action (gif attached) with vscode. Just adding a keyboard shortcut to this action. Is this an option? Or do I need to take the time to change back to Atom. :( GIF DEMO OF ACTION

1 Answers

This command workbench.action.minimizeOtherEditors will maximize the current editor by minimizing all the others. It does not have a default keybinding but you can set one easily in the Keyboard Shortcuts UI or with this setting in your keybindings.json:

{
  "key": "ctrl+tab", // whatever keybinding you wish
  "command": "workbench.action.toggleEditorWidths"
}

[You won't be able to use tab+tab as the shortcut for various reasons.]

Related