Show Menu
Cheatography

Visual Studio Code Keyboard Shortcuts by

Common keybindings I use in vscode. The {{fa-rocket}} symbol means user defined keybindings.

General

Ctrl+S­hift+P
Show command palette
Ctrl+P | Ctrl+E
Search files by name
Ctrl+,
Open settings (UI)
Ctrl+K Ctrl+S
Keyboard shortcuts (UI)

Integrated Terminal

Ctrl+`
Toggle terminal
Ctrl+S­hift+`
Create new terminal
Crtl+S­hif­t+Alt+`
Create new R terminal
Ctrl+S­hif­t+Del
Kill active terminal
Ctrl+S­hift+C
Open external terminal

Basic Editing

Ctrl+X
Cut line
Ctrl+C
Copy line
Ctrl+S­hift+K
Delete line
Alt+/
Move line up/down
Shift+Alt+/
Copy line up/down
Ctrl+Enter
Insert line below
Ctrl+S­hif­t+Enter
Insert line above
Ctrl+S­hift+[
Fold region
Ctrl+S­hift+]
Unfold region
Ctrl+Alt+C
Block comment
 

Language Server Editing

Ctrl+K Ctrl+F
Format selection
Shift+­Alt+F
Format document
F12
Go to definition
F2
Rename symbol

Navigation In Editor

Ctrl+S­hift+O
Go to symbol
F8 / Shift+F8
Go to next / previous error warning
Ctrl+Alt+J
Ace jump single character
Ctrl+Alt+M
Ace jump multiple character
Home / End
Go to beginn­­in­g/end of line
Ctrl+Home / Ctrl+End
Go to beginn­­in­g/end of file

Display

F11
Full screen
Ctrl+B
Toggle sidebar
Ctrl+J
Toggle panel
Ctrl+ =/-
Zoom in/out
Ctrl+S­hift+E
Show explorer
Ctrl+S­hift+F
Show search
Ctrl+S­hift+H
Show replace
Ctrl+S­hift+J
Toggle search detail
Ctrl+S­hift+G
Show source control
Ctrl+S­hift+D
Show debug
Ctrl+S­hift+X
Show extensions
 

File Management

Ctrl+N
New file
Ctrl+O
Open file
Ctrl+S
Save
Ctrl+S­hift+S
Save As
Ctrl+K S
Save all
Ctrl+W
Close
Ctrl+K Ctrl+W
Close all
Ctrl+S­hift+T
Reopen close file
Ctrl+K M
Change file language

File Navigation

Ctrl+P­ageDown
Open previous editor
Ctrl+P­ageUp
Open next editor
Ctrl+ 1/2/3
Focus into 1st, 2nd or 3rd group
Ctrl+<
Split editor
Ctrl+K Ctrl+<
Split editor orthogonal
Ctrl+K /
Move active group
Ctrl+Alt+ /
Move editor into group

Window Management

Ctrl+S­hift+N
New window
Ctrl+K O
Open editor in window
Ctrl+S­hift+W
Close window
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Visual Studio Code Keyboard Shortcuts
          VSCode ReactJS Code Snippets Cheat Sheet