Atom

Install

Download Atom.

Settings

Core settings

Ignored names .git, .svn, .DS_Store, .sublime-project, .sublime-workspace, rwd

Editor settings

Font family source code pro
Font size 15
Line height 1.3
Scroll past end
Show invisibles

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

Package settings

Pigments

Marker type Dot

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