- Open command pallete:
Ctrl/cmd + Shift + P
Search for any command
- Toggle sidebar:
ctrl/cmd + B
- Toggle Terminal:
ctrl/cmd + backtick
- Clear the terminal:
ctrl/cmd + K
- Open settings:
ctrl/cmd + ,
- Quick open a file:
ctrl/cmd + P
- Tab through open files:
ctrl + tab
- Move file to split window:
Ctrl/cmd + \
- Close file:
Ctrl/cmd + W
- Search file:
Ctrl/cmd + F
- Replace file:
Ctrl/cmd + H
- Global Search:
Ctrl/cmd + Shift + F
- Global Replace:
Ctrl/cmd + Shift + H
- Zen mode:
ctrl/cmd + K Z
Double
ESC
to leave orctrl/cmd + K Z
again
- Toggle comments:
Ctrl/cmd + /
- Navigate Text:
Hold down CTRL + LEFT or RIGHT
- Move a line of code:
ALT + UP or DOWN
- Copy, cut and paste:
ctrl+c, ctrl+v, ctrl+x
For a whole line, just keep the cursor on the line
- Duplicate line:
Shift+option+up/down or Shift+alt+up/down
- Mutiple cursors:
Ctrl+cmd + click
- Select word:
Ctrl/cmd + D
To select current word is CTRL + D, but to select subsequent same words just hit CTRL + D again.
- Select all instance of a selected word:
Ctrl/cmd + Shift + L
- Rename symbol:
F2
- Go to symbol:
ctrl/cmd + Shift + o
- Jump to function defination:
ctrl/cmd + click