vscode: Open file instead of previewing file from quick open

With Quick Look open, select the file you wish to open permanently

Quick open

then press Alt + Enter to open the file permanently.

Note: this shortcut only works in Visual Studio Code 1.19 and above

@GunnerGuyven's answer also work - select file in Quick Look then


Just press the Right arrow when your file is highlighted. The Command Palette stays exactly where it is and your file opens (in non-preview) in the background. You can do this as many times as you like.


What I was looking for was: Settings -> Workbench -> Editor Management

I set Enable Preview and unset Enable Preview from Quick Open which makes VSCode behave like st3.