Visual Studio Code Shortcuts

ShortcutKeybinding (US English Keyboard)
Cut line (empty selection)
⌘Cmd+X
Copy line (empty selection)
⌘Cmd+C
Move line up
⌥Opt+↑
Move line down
⌥Opt+↓
Copy line up
⇧shift+⌥Opt+↑
Copy line down
⇧shift+⌥Opt+↓
Delete line
⇧shift+⌘Cmd+K
Delete token left of cursor
⌥Opt+⌫
Insert line above
⇧shift+⌘Cmd+⏎
Insert line below
⌘Cmd+⏎
Jump to matching bracket
⇧shift+⌘Cmd+\
Indent line
⌘Cmd+]
Outdent line
⌘Cmd+[
Go to beginning of line
⌘Cmd+←
Go to end of line
⌘Cmd+→
Go to beginning of file
⌘Cmd+↑
Go to end of file
⌘Cmd+↓
Scroll line up
⌃Ctrl+Page Up
Scroll line down
⌃Ctrl+Page Down
Scroll page up
⌘Cmd+Page Up
Scroll page down
⌘Cmd+Page Down
Go to beginning of previous word
⌥Opt+←
Go to end of the next word
⌥Opt+→
Fold region
⌥Opt+⌘Cmd+[
Unfold region
⌥Opt+⌘Cmd+]
Fold all subregions
⌘Cmd+K+⌘Cmd+[
Unfold all subregions
⌘Cmd+K+⌘Cmd+]
Fold all regions
⌘Cmd+K+⌘Cmd+0
Unfold all regions
⌘Cmd+K+⌘Cmd+J
Add line comment
⌘Cmd+K+⌘Cmd+C
Remove line comment
⌘Cmd+K+⌘Cmd+U
Toggle line comment
⌘Cmd+/
Toggle block comment
⇧shift+⌥Opt+A

Go to end of line

⌘Cmd+→