This is a draft cheat sheet. It is a work in progress and is not finished yet.
Vs Code
⌘ + ⇧ + C |
Open terminal |
^ + , |
Open terminal inline |
⇧ + ⌥ + F |
Format Code |
⌘ + ⇧ + P |
Quick action/command |
^ + , |
Go to recent |
⇧ + ⌘ + \ |
Go to bracket |
⌥ + ↑ ↓ |
Move code up and down\ |
⌘ + I |
Select line |
⌘ + fn + ↑ ↓ |
Scroll Editor |
⌘ + P |
Go to file |
⌘ + N |
New file |
^ + TAB |
Switch tabs |
^ + K + W |
Close all tabs |
^ + K + W |
Reveal in finder |
^ + K + O |
Open new window |
⌘ + ⇧ + B |
Build |
⇧ + ⌘ + D |
Show debug |
⇧ + ⌘ + E |
Show explorer |
⌘ + K + R |
Reveal active file in windows |
⌃ + Tab |
Open next tab |
⇧ + ⌃ + Tab |
Open previous tab |
⌘K +⇧⌘Arrow |
Move editor |
⌘K + ⌘← |
Focus editor |
⌘ + \ |
Split editor |
⌘ + . |
Quick Fix |
⇧ + ⌥ + F |
Format code |
⌘ + F |
Find text |
⌥ + ⌘ + F |
Replace |
⌘K + ⌘C(⌘U) |
Comment line |
⌘ + / |
Toogle line comment |
⇧ + ⌥ + A |
Toogle block comment |
|
|
Finder
⌘-⌥-⌃ |
Shutdown |
⌘-⌃-Eject |
Restart |
⌘-⌥-Eject |
Sleep |
⌃-eject |
Choose dialog shutdown |
In Spotlight Search: Press ⌘-Return In Finder Window: Press ⌘-R |
Reveal selected item in Finder |
⌘-⇧-3 |
Screenshot |
⌘-⇧-Delete |
Empty the Trash with warning |
⌘-Delete |
Move selected files to the Trash |
⌘-⌥–Delete |
Immediately Delete a File |
⌘-Click |
Open Sidebar item in a new Tab or Window |
⌘-↑/↓ |
Move parent/children directory |
Editor
fn-⌦ |
Delete right |
fn-→/← |
Start/end line |
⌘(⌃) + ↑/↓ |
Start/end document |
⌥ + →/← |
Jump one words |
fn-↑/↓ |
Page Down/Up |
⌃ + L |
Scroll to current line |
⌃ + K |
Delete paragraph |
⌥ + ⌦ |
Remove back/next word |
⌃ + D |
Delete the character to the right of the cursor |
⌘ + ⌥ + ⌃ + V |
Paste and Match Style ( |
|
|
Xcode
⌘ + 0 |
Hide sidebar |
⌘ + 1-8 |
Show menu sidebar |
⌘ + ⌥ + 0 |
hide right sidebar |
⌘ + ⇧ + y |
Show/Hide debug info |
⌘ + ⇧ + O |
open quickly |
⌘ + B |
Build |
⌘ + R |
Run |
⇧ + ⌘ + K |
Clean |
F6 |
Step Over |
F7 |
Step into |
⌘ + \ |
Add remove breakpoint |
⌘ + ⇧ + F |
Find text in all |
^ + 6 |
Navigate method |
⌘ + ⇧ + F |
Reveals file opened |
⌘ + C |
Stop simulator |
⌃ + 1 |
Show related items |
⌥ + ⌘ + ← |
Fold method/class |
⌘ + / |
Comment selection |
⌃+⌘+E |
Edit all in scope |
⌘ + ⏎ |
Show standard editor |
⌘ + 1 |
Go to project navigation |
⌃ + ⌥ + ⌘ |
Code Snippet |
Terminal
^ + A |
Go to the beginning of the line |
^ + E |
Go to the end of the line |
^ + L |
Clear line |
⌘+ K |
Clear screen |
^+ R |
Recent commands |
^ + K |
Clear line after cursor |
^ + D |
Exit current shell |
|