Skip to content

Instantly share code, notes, and snippets.

@faruktoptas
Created December 18, 2019 11:27
Show Gist options
  • Save faruktoptas/2fd41c5e899bf0379653897157b31fc5 to your computer and use it in GitHub Desktop.
Save faruktoptas/2fd41c5e899bf0379653897157b31fc5 to your computer and use it in GitHub Desktop.
VS Code Shortcuts
1.Code formatting
On Windows: Shift + Alt + F
On Mac: Shift + Option + F
On Ubuntu: Ctrl + Shift + I
2.Copy line up/down
On Windows: Shift + Alt + Up/Down
On Mac: Shift + Option + Up/Down
On Ubuntu: Ctrl + Shift + Alt + Up/Down
3.Split Editor
On Windows: Shift + Alt + \ or 2,3,4
On Mac: Command + \ or 2,3,4
On Ubuntu: Shift + Alt + \ or 2,3,4
4.Select word
On Windows: Ctrl+ d
On Mac: Command + d
On Ubuntu: Ctrl+ d
5.Opening and closing of the sidebar
On Windows: Ctrl+ b
On Mac: Command + b
On Ubuntu: Ctrl+ b
6.Navigate to a Specific Line
On Windows: Ctrl + g
On Mac: Ctrl + g or Ctrl + p
On Ubuntu: Ctrl + g
7.Go to Symbol in File
On Windows: Ctrl + Shift + o
On Mac: Command + Shift+ o
On Ubuntu: Ctrl + Shift + o
8.Go to symbol in workspace
On Windows: Ctrl + t
On Mac: Command + t
On Ubuntu: Ctrl + t
9.Duplicate Line
On Windows: Ctrl + Shift + d
On Mac: Command + Shift +d
On Ubuntu: Ctrl + Shift + d
10.Add Cursor Above/Below
On Windows: Ctrl + Alt + Up arrow / Down arrow
On Mac: Command + Alt + Up arrow / Down arrow
On Ubuntu: Ctrl + Alt + Up arrow / Down arrow
11.Column (Box) Selection
On Windows: Shift + Alt
On Mac: Shift + Option
On Ubuntu: Shift + Alt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment