Skip to content

Instantly share code, notes, and snippets.

@0xadada 0xadada/atom-shortcuts.md
Last active Apr 1, 2016

Embed
What would you like to do?
Atom editor keyboard commands and shortcuts

Atom keyboard commands and shortcuts

Some commonly used keys using Atom editor.

Legend

Command Character
command
ctrl ^
alt
option
shift
arrow up
arrow down
arrow left
arrow right

Features

  • ⌘⇧P - command palette
  • ⌘t - fuzzy file finder
  • ⌘b - fuzzy buffer finder
  • ⌘f2 - toggle bookmark
  • ^f2 - list bookmarks
  • ^⇧M - Open preview pane
  • ^⌘f - Toggle fullscreen
  • ⌘⇧o - Open folder (Add folder to tree view)

Folding

  • ⎇⌘[ - Fold code block
  • ⎇⌘] - Unfold code block
  • ⎇⌘{ - Fold all code blocks
  • ⎇⌘} - Unfold all code blocks
  • ⌘n - Fold code blocks at depth n

File Movement

  • ^G - move row:column
  • ^G - move row:column
  • f2 - move next bookmark
  • ⇧f2 - move previous bookmark
  • ⌘↑ - move file top
  • ⌘↓ - move file bottom
  • ⌘r - move symbol
  • ⌘→ - move beginning of line
  • ⌘← - move end of line
  • ⎇← - move word-left
  • ⎇→ - move word-right

Pane Movement

  • ⌘k, ← - Split pane left
  • ⌘k, → - Split pane right
  • ⌘k, ↑ - Split pane up
  • ⌘k, ↓ - Split pane down
  • ⌘k, ⌘← - Focus pane left
  • ⌘k, ⌘→ - Focus pane right
  • ⌘k, ⌘↑ - Focus pane up
  • ⌘k, ⌘↓ - Focus pane down

Selection

Similar to Movement, but with .

  • ⎇⇧← - select word-left
  • ⎇⇧→ - select word-right
  • ⌘⇧← - select to beginning of line
  • ⌘⇧→ - select to end of line
  • ⌘l - select line
  • ^⇧W - select word
  • ⌘d - select currently selected word in next location
  • ⌘⇧L - convert multiline select into multiple cursors

Editing Text

  • ^t - Transpose cursors adjacent characters
  • ⌘j - Join next line to end of current line
  • ^⌘↑ - Move line up
  • ^⌘↓ - Move line down
  • ^⌘↓ - Move line down
  • ^⌘↓ - Move line down
  • ⌘⇧D - Duplicate line
  • ⌘⇧D - Duplicate line
  • ^⇧K - Delete current line
  • ⌘delete - Delete to end of line
  • ⌘backspace - Delete to beginning of line
  • ⎇delete - Delete to end of word
  • ⎇backspace - Delete to beginning of word
  • ^k - Cut to end of line
  • ⌘click - Add cursor
  • ⌘^G - Select all instances of the current word in the document, as multiple cursors

Find and Replace

  • ⌘f - Search within current buffer
  • ⌘⇧f - Search within current project
  • ⌘G - Find next

Command Palette helpers

  • ⌘⇧P - Command palette
  • 'whitespace' - Whitespace, tab, spaces helper commands
  • ^m - Jump to matching adjacent bracket
  • ^⌘m - Select text inside brackets
  • ⎇⌘⎇ - Close current XML/HTML tag
  • ⎇⇧S - Show shortcuts for snippets for current file type
  • ^⇧L - Open grammar palette

External Tools

  • ⌘⎇Z - Checkout HEAD version of current file
  • ⎇g, o - Open file at current line on GitHub
  • ⎇g, b - Open git blame for line in GitHub
  • ⎇g, g - Open repository on GitHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.