Atom

Install

Download Atom.

Preferences

Core settings

Title bar Custom

Editor settings

Font family Source Code Pro
Font size 18
Line height 1.5
Scroll past end
Show invisibles
Show indent guide
Tab length 4

Themes

UI Theme One Dark
Syntax Theme One Dark

One Dark UI settings

Layout mode Compact

Retired theme pairs

  • Unity UI + Base16 Tomorrow Dark
  • Seti UI + Base16 Tomorrow Dark

Installed themes

Packages

Retired packages

Package settings

Project manager

Close current
Environment specific projects
Show path
Sort by group

My projects.cson file:

'Client Title':
  'title': 'Client Title'
  'group': 'CLIENT'
  'icon': 'icon-file-directory'
  'paths': [
    ''
  ]
'Project Title':
  'title': 'Project Title'
  'group': 'PROJECT'
  'icon': 'icon-star'
  'paths': [
    ''
  ]

Tabs

Tab scrolling
Use preview tabs

Tree view

Hide ignored names
Hide VCS ignored files
Show on right side
Sort folders before files

Whitespace

Ensure single trailing newline
Ignore whitespace on current line
Ignore whitespace only lines
Remove trailing whitespace

Tricks

Install command line tools

Menu Bar > Atom > Install Shell Commands

Usage

# Open a file
atom file.txt

# Open the current directory
atom .

Reference

Select search matches

With a search string entered, hit OPT + ENTER to select all matching occurrences in the file.

Search with regular expressions

Find an HTML tag with any characters inside it:

<h2>.+</h2>

Find an HTML tag but only select the characters inside it:

(?<=<h2>).+(?=</h2>)

Find URLs ending in a trailing slash:

href="http://gravitydept.com([a-Z0-9/-])+/"

Resources