This is a draft cheat sheet. It is a work in progress and is not finished yet.
General
Toggle command palette |
⌘⇧p |
Toggle line/selection comment |
⌘/ |
Show available auto-completions |
^␣ |
Find
Find in file |
⌘f |
Find next |
⌘g |
Find in project |
⌘⇧f |
Use selection for find |
⌘e |
View/Window Manipulation
Toggle tree-view sidebar |
⌘/ |
Toggle fullscreen |
⌘^f |
Split pane (left/right/up/down) |
⌘k + ↔︎↕︎ |
Focus pane (left/right/up/down) |
⌘k, ⌘ + ↔︎↕︎ |
|
|
File navigation
Toggle file finder |
⌘p |
Goto line |
^g |
Goto symbol |
⌘r |
Previous/next file |
⌘⇧ + {/} |
Set bookmark |
⌘F2 |
Goto next bookmark |
F2 |
Folding
Fold/unfold current code block |
⌘^ + [/] |
Fold/unfold all code blocks |
⌘⎇⇧ + [/] |
Fold code blocks at depth 1-9 |
⌘ + 1-9 |
Word manipulation
Transpose characters either side of cursor |
^t |
Delete text to beginning of word |
⎇⌫ |
Delete text to end of word |
⎇⌦ |
|
|
Line manipulation
Indent/outdent current line |
⌘ + ]/[ |
Insert new line after current line |
⌘⏎ |
Insert new line before current line |
⌘⇧⏎ |
Delete current line |
^⇧k |
Move current line up/down |
⌘^↕︎ |
Duplicate current line |
⌘⇧d |
Join current and next lines |
⌘j |
Selection
Select current word/token |
⌘d |
Select current line |
⌘l |
Select to beginning/end of word |
⎇⇧↔︎ |
Select to first/last character of line |
⌘⇧↔︎ |
Select to top/bottom of document |
⌘⇧↕︎ |
|
|
Github
Focus GitHub tab |
^8 |
Focus Git tab |
^9 |
|