Skip to content

↑↓ moveEnter openEsc close

Open folder in VS Code

VS Code 1.96 · 138 shortcuts · checked Nov 2026 · Source: Microsoft docs

In Visual Studio Code, press Cmd+O (Mac), Ctrl+K Ctrl+O (Windows, Linux).

What else uses Cmd+O?

More VS Code shortcuts: file management

ActionMacWindowsLinux
New fileCmdNCtrlNCtrlN
Open fileCmdOCtrlOCtrlO
SaveCmdSCtrlSCtrlS
Save asShiftCmdSCtrlShiftSCtrlShiftS
Save allOptionCmdSCtrlK,SCtrlK,S
Close all editorsCmdK,CmdWCtrlK,CtrlWCtrlK,CtrlW
Reopen closed editorShiftCmdTCtrlShiftTCtrlShiftT
Keep preview mode editor openCmdK,EnterCtrlK,EnterCtrlK,Enter
Open next editorCtrlTabCtrlTabCtrlTab
Open previous editorCtrlShiftTabCtrlShiftTabCtrlShiftTab

All 14 in file management · All 138 VS Code shortcuts