Posted in Information Technology, Tools

Atom cheatsheet

Tree

⌘\ Toggle tree
⌘⇧\ Reveal current file

Comments

⌘/ Toggle comments

View

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

Bracket matcher

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

Symbols view

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

Symbols view enables Ctags support for Atom.

See: Symbols view

Git

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

Editing

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

Project

⌘⇧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

#Notes

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

  • For Windows and Linux,  is the Alt key.
  • For macOS, it’s the Option key.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s