Skip to main content

Mac VSCode Shortcuts

Settings

: User Settings

⇧⌘P: Show Command Palette

File Navigation

⌘P: Go to File

⌘O: Open File

⌘N: New window/file

⌘W: Close current window/file

⌘option ←/→ : switch between windows/files

option ⌘ S: Save All

⇧⌘F: Show Search

Editting

⌘X: cut line

⌘C: copy line

⇧tab: un-indent

option ↓/↑: move line down/up

⌘ ←/→ : move to start/end of line

option ←/→: move through each word

⌘/: toggle line comment

⌘\\: add the current window to a split window on the right

⌘⇧L: select all texts similar to the one select in the file