Show Menu
Cheatography

Atom Editor 2 Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

General

Toggle command palette
⌘⇧p
Toggle line/s­ele­ction comment
⌘/
Show available auto-c­omp­letions
^␣

Find

Find in file
⌘f
Find next
⌘g
Find in project
⌘⇧f
Use selection for find
⌘e

View/W­indow Manipu­lation

Toggle tree-view sidebar
⌘/
Toggle fullscreen
⌘^f
Split pane (left/­rig­ht/­up/­down)
⌘k + ↔︎↕︎
Focus pane (left/­rig­ht/­up/­down)
⌘k, ⌘ + ↔︎↕︎
 

File navigation

Toggle file finder
⌘p
Goto line
^g
Goto symbol
⌘r
Previo­us/next file
⌘⇧ + {/}
Set bookmark
⌘F2
Goto next bookmark
F2

Folding

Fold/u­nfold current code block
⌘^ + [/]
Fold/u­nfold all code blocks
⌘⎇⇧ + [/]
Fold code blocks at depth 1-9
⌘ + 1-9

Word manipu­lation

Transpose characters either side of cursor
^t
Delete text to beginning of word
⎇⌫
Delete text to end of word
⎇⌦
 

Line manipu­lation

Indent­/ou­tdent 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 beginn­ing/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