Open file in new window: the shortcut in both apps
Each app binds this differently. The table shows the keys in Ubuntu and VS Code side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| UbuntuOpen the selected folder in a new window · Files | — | — | ShiftEnter |
| VS CodeShow active file in new window | CmdK,O | CtrlK,O | CtrlK,O |
How the apps compare
- Mac: Cmd+K O in VS Code.
- Windows: Ctrl+K O in VS Code.
- Linux: Shift+Enter in Ubuntu; Ctrl+K O in VS Code.
Where and when it works
- Ubuntu (Files).
Learn it by pressing it: Ubuntu shortcuts practice or VS Code shortcuts practice.