Skip to content

Instantly share code, notes, and snippets.

@smaimon
Last active November 14, 2017 14:30
Show Gist options
  • Save smaimon/19a8eaf787c3dde9628782515f8f1414 to your computer and use it in GitHub Desktop.
Save smaimon/19a8eaf787c3dde9628782515f8f1414 to your computer and use it in GitHub Desktop.
Atome Editor Keyboard Shortcuts

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Based on Atom Editor Cheat Sheet by @chrissimpkins

Symbol + (Plus sign) is used for Keystrokes Super Combo πŸ’₯

Key to the Keys

  • ⌘ : Command key
  • βŒƒ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • β†’ : Right arrow key
  • ↑ : Up arrow key
  • ↓ : Down arrow key
  • βŒ₯ : Alt key
  • ↩ : Enter key
  • ⇧ : Shift key
  • + : Plus sign key
  • - : Minus sign key

Contents

The Command Palette

Task Keystrokes
Open Command Palette ⌘ + ⇧ + P

Configuration

Task Keystrokes
Open Configuration Editor ⌘ + ,

Autocomplete

Task Keystrokes
Toggle Autocomplete βŒƒ + space

Bookmarks

Task Keystrokes
Toggle Bookmark ⌘ + F2
View All Bookmarks βŒƒ + F2
Jump to Next Bookmark F2
Jump to Previous Bookmark ⇧ + F2
Clear All Bookmarks ⌘ + ⇧ + F2

Brackets

Task Keystrokes
Find Matching Bracket βŒƒ + M

Code Folding

Task Keystrokes
Fold Code βŒ₯ + ⌘ + [
Unfold Code βŒ₯ + ⌘ + ]
Fold at Indentation Level (N) ⌘ + K ⌘+ N
Fold Selected Text βŒ₯ + ⌘ + βŒƒ + F
Unfold All Code βŒ₯ + ⌘ + }

Code Navigation & Management

Task Keystrokes
Cut ⌘ + X
Copy ⌘ + C
Paste ⌘ + V
Undo ⌘ + Z
Redo ⌘ + ⇧ + Z or ⌘ + Y
Cut to End of Line βŒƒ + K
Delete to Beginning of Word βŒ₯ + ⌫
Delete to End of Word βŒ₯ + D
Delete Line βŒƒ + ⇧ + K
Duplicate Line ⌘ + ⇧ + D
Go to Line βŒƒ + G
Go to Matching Bracket βŒƒ + M
Indent Selected Text ⌘ + βŒ₯ + ⇧ + )
Outdent Selected Text ⌘ + βŒ₯ + ⇧ + (
Join Lines ⌘ + J
Move to Previous Word βŒ₯ + ←
Move to Next Word βŒ₯ + β†’
Move to Beginning of Word βŒ₯ + B
Move to End of Word βŒ₯ + F
Move to Beginning of Line βŒƒ + A
Move to End of Line βŒƒ + E
Move Line Up ⌘ + βŒƒ + ↑
Move Line Down ⌘ + βŒƒ + ↓
Move to Top of File ⌘ + ↑
Move to Bottom of File ⌘ + ↓
Move to First Character of Line ⌘ + ←
Move to Last Character of Line ⌘ + β†’
Toggle Line Comments ⌘ + ⇧ + /
Select All ⌘ + A
Select Word ⌘ + D or βŒƒ + ⇧ + W
Select Line ⌘ + L
Select Left Character ⌘ + βŒƒ + B
Select Right Character ⌘ + βŒƒ + F
Select to Beginning of Word βŒ₯ + ⇧ + B
Select to End of Word βŒ₯ + ⇧ + F
Select to First Character of Line βŒ₯ + ⇧ + A
Select to Last Character of Line βŒ₯ + ⇧ + E
Select to Same Position, Next Line βŒ₯ + ⇧ + N
Select to Same Position, Previous Line βŒ₯ + ⇧ + P
Select to Top of File ⌘ + ⇧ + ↑
Select to Bottom of File ⌘ + ⇧ + ↓

Character Transformations

Task Keystrokes
Convert Tabs to Spaces βŒ₯ + ⌘ + [
Convert Spaces to Tabs βŒ₯ + ⌘ + ]
Convert to Upper Case ⌘ + K + U
Convert to Lower Case ⌘ + K + L

Comments

Task Keystrokes
Toggle Comment ⌘ + ⇧ + /

Editor View Tasks

Task Keystrokes
Split Panes Vertically ⌘ + K + ↓
Split Panes Horizontally ⌘ + K + β†’
Vertical Navigation Panes ⌘ + K or ⌘ + ↓
Horizontal Navigation Panes ⌘ + K or ⌘ + β†’
Toggle Full Screen βŒƒ + ⌘ + F
Toggle Tree View ⌘ + K + B or ⇧ + βŒ₯ + ⌘ + /
New Tab ⌘ + N
Switch Tab Left ⌘ + ⇧ + [
Switch Tab Right ⌘ + ⇧ + ]
Close Tab ⌘ + W
Reopen Tab ⌘ + ⇧ + T

File Tasks

Task Keystrokes
Open Files ⌘ + P
Fuzzy Find Files ⌘ + T
Find Open File ⌘ + B
Find Modified, Untracked (git) File ⌘ + ⇧ + B
Open Tree View βŒƒ + 0
Toggle Tree View ⌘ + K + B or ⇧ + βŒ₯ + ⌘ + /
Add a File A
Move a File M
Delete a File ⌫
Reopen Last File ⌘ + ⇧ + T

Find & Replace

Task Keystrokes
Find String in Current File ⌘ + F
Find String in All Project Files ⇧ + ⌘ + F
Find Next Matching String ⌘ + G
Find Previous Matching String ⇧ + ⌘ + G
Select Every Instance ⌘ + ^ + G
Select Next Matching String ⌘ + D
Select All Matching Strings βŒƒ + ⌘ + G
Replace String in Current File βŒ₯ + ⌘ + F

Font Tasks

Task Keystrokes
Increase Font Size cmd + +
Decrease Font Size cmd + -

Grammar

Task Keystrokes
Select Grammar βŒƒ + ⇧ + L
Task Keystrokes
Search for Symbol ⌘ + R
Search for Symbol Across Project ⌘ + ⇧ + R

Preview

Task Keystrokes
Markdown Preview ^ + ⇧ + M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment