Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hotkey to move a tab from one of two split editors to another?

Say I split my editor into two halves, left and right, and I wanna move a file that is opened in a tab from the left-hand side editor to the right one and vice versa.

like image 886
kyw Avatar asked May 17 '17 07:05

kyw


People also ask

What is the shortcut key for switching between the open tab in Visual Studio?

Hold down the Ctrl key and press Tab repeatedly until you select the file you intend to switch to.

How do you switch between workspaces in VS code?

Double-click the . code-workspace file in your platform's Explorer. Use the File > Open Workspace command and select the Workspace file. Select the Workspace from the File > Open Recent (Ctrl+R) list.


1 Answers

Windows: Ctrl+Alt+/

Mac: Ctrl+Cmd+/

Command names:

  • workbench.action.moveEditorToNextGroup View: Move Editor into Next Group

  • workbench.action.moveEditorToPreviousGroup View: Move Editor into Previous Group

Extra:

  • workbench.action.moveEditorToAboveGroup View: Move Editor into Above Group
  • workbench.action.moveEditorToBelowGroup View: Move Editor into Below Group
  • workbench.action.moveEditorToFirstGroup View: Move Editor into First Group
  • workbench.action.moveEditorToLastGroup View: Move Editor into Last Group
like image 118
Alex Avatar answered Oct 22 '22 15:10

Alex