Atom Cheat Sheet

Here’s a cheat sheet for Atom, a popular open-source text editor:

General Shortcuts

  • Open/Close Sidebar:
    • Toggle Tree View: Ctrl + \
    • Toggle File Explorer: Ctrl + 0
  • Command Palette:
    • Open Command Palette: Ctrl + Shift + P
  • Search/Replace:
    • Find: Ctrl + F
    • Replace: Ctrl + H
  • Toggle Full Screen:
    • Toggle Full Screen: Ctrl + Shift + F

Navigation

  • Go to Line:
    • Go to Line: Ctrl + G
  • Go to File:
    • Go to File: Ctrl + P
  • Toggle Markdown Preview:
    • Toggle Markdown Preview: Ctrl + Shift + M

Editing

  • Undo/Redo:
    • Undo: Ctrl + Z
    • Redo: Ctrl + Y or Ctrl + Shift + Z
  • Copy/Cut/Paste:
    • Copy: Ctrl + C
    • Cut: Ctrl + X
    • Paste: Ctrl + V
  • Select All:
    • Select All: Ctrl + A
  • Toggle Line Comment:
    • Toggle Line Comment: Ctrl + /
  • Indent/Outdent Lines:
    • Indent: Ctrl + ]
    • Outdent: Ctrl + [

Split Panes

  • Split Panes:
    • Split Right: Ctrl + \ then Right Arrow
    • Split Down: Ctrl + \ then Down Arrow
  • Move Between Panes:
    • Move Right: Ctrl + \ then Ctrl + Right Arrow
    • Move Down: Ctrl + \ then Ctrl + Down Arrow

Git Integration

  • Toggle Git Tab:
    • Toggle Git Tab: Ctrl + 9
  • Git Operations:
    • Stage Changes: Ctrl + Alt + S
    • Commit Changes: Ctrl + Alt + C

Packages and Themes

  • Install Packages:
    • Open Settings: Ctrl + ,
    • Go to Install section
  • Toggle Themes:
    • Open Settings: Ctrl + ,
    • Go to Themes section

Customizing Atom

  • Keymap:
    • Open Keymap File: Ctrl + , > Click on “Keybindings” > Scroll down and click on “your keymap file”
  • Stylesheet:
    • Open Stylesheet File: Ctrl + , > Click on “Themes” > Scroll down and click on “your stylesheet file”

Markdown Editing

  • Live Preview:
    • Toggle Live Preview: Ctrl + Shift + M
  • Table of Contents:
    • Insert Table of Contents: Ctrl + Shift + P > Type “Markdown Preview: Insert Table of Contents”

This Atom cheat sheet covers some basic shortcuts and functionalities. Atom is highly customizable, so explore its settings and packages to tailor it to your preferences. For more details, refer to the Atom Documentation.