DEV Community

Lam
Lam

Posted on

Atom Cheat Sheet

[Notes] ⌘

  • For Windows and Linux, is the Control key.
  • For macOS, it's the Command key.

[Shortcuts] Project

Shortcut Description
⌘⇧p Command palette
⌘⇧a Add project folder
--- ---
⌘n New file
⌘⇧n New window
--- ---
⌘f Find in file
⌘⇧f Find in project
⌘t Search files in project

[Shortcuts] Editing

Shortcut Description
⌘d Select word
⌘l Select line
--- ---
⌘↓ Move line down
⌘↑ Move line up
--- ---
⌘⏎ New line below
⌘⇧⏎ New line above
--- ---
⌘⇧k Delete line
⌘⇧d Duplicate line

[Shortcuts] Git

| ^⇧9 | Show Git pane |
| ^⇧8 | Show GitHub pane |

[Shortcuts] Symbols view

Shortcut Description
^⌥↓ Jump to declaration under cursor
^⇧r Show tags

Symbols view enables Ctags support for Atom.

See: Symbols view

[Shortcuts] Bracket matcher

Shortcut Description
^m Go to matching bracket
^] Remove brackets from selection
^⌘m Select inside brackets
⌥⌘. Close tag

[Shortcuts] View

Shortcut Description
⌘k Split pane to the left
--- ---
⌘⌥= Grow pane
⌘⌥- Shrink pane
--- ---
^⇧← Move tab to left

[Shortcuts] Comments

Shortcut Description
⌘/ Toggle comments

[Shortcuts] Tree

Shortcut Description
⌘\ Toggle tree
⌘⇧\ Reveal current file

Reference

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay