This page is not available in every language. Missing translations are disabled in the language selector.

Quick reference

Atom Editor Keyboard Shortcuts Cheat Sheet

A quick reference guide for Atom text editor keyboard shortcuts on macOS, Windows, and Linux: pane management, editing, symbol navigation, and Git integration.

· Published

A quick reference guide to essential keyboard shortcuts and navigation commands for the Atom text editor.

[!NOTE] On macOS, use ⌘ (Command) and ⌥ (Option). On Windows and Linux, substitute Ctrl for ⌘ and Alt for ⌥.

Window & Pane Management

Shortcut (macOS) Shortcut (Win/Linux) Action
⌘\ Ctrl+\ Toggle file tree view
⌘⇧\ Ctrl+Shift+\ Reveal active file in tree view
⌘k ← / → / ↑ / ↓ Ctrl+k Arrows Split active pane in direction
⌘⌥= / ⌘⌥- Ctrl+Alt= / Ctrl+Alt- Increase / Decrease pane dimensions
^⇧← / ^⇧→ Ctrl+Shift+Left/Right Move active tab left / right

Code Editing & Manipulation

Shortcut (macOS) Shortcut (Win/Linux) Action
⌘/ Ctrl+/ Toggle line comment
⌘d Ctrl+d Select current word / add next occurrence
⌘l Ctrl+l Select entire current line
^⌘↑ / ^⌘↓ Ctrl+Up/Down Move active line up / down
⌘⏎ Ctrl+Enter Insert new line below
⌘⇧⏎ Ctrl+Shift+Enter Insert new line above
^⇧k Shift+Delete Delete current line
⌘⇧d Ctrl+Shift+d Duplicate current line
⌥⌘. Alt+Ctrl+. Automatically close current XML/HTML tag

Brackets & Symbols

Shortcut (macOS) Shortcut (Win/Linux) Action
^m Ctrl+m Jump to matching bracket
^⌫ Ctrl+Backspace Remove surrounding quotes / brackets
^⌘m Ctrl+Alt+m Select all code enclosed within matching brackets
⌥⌘↓ Alt+Ctrl+Down Jump to symbol declaration (Ctags)
^⇧r Ctrl+Shift+r Search project symbols

Project Search & Navigation

Shortcut (macOS) Shortcut (Win/Linux) Action
⌘⇧p Ctrl+Shift+p Open Command Palette
⌘t or ⌘p Ctrl+t or Ctrl+p Fuzzy search file in project
⌘f Ctrl+f Find in active buffer
⌘⇧f Ctrl+Shift+f Find and replace across entire project
⌘n Ctrl+n Create new buffer / file
⌘⇧n Ctrl+Shift+n Open new editor window

Git & GitHub Integration

Shortcut (macOS) Shortcut (Win/Linux) Action
^⇧9 Ctrl+Shift+9 Toggle Git staging panel
^⇧8 Ctrl+Shift+8 Toggle GitHub pull requests panel

Related topics