1. Edit the _data/metadata.json with your site's information.
  2. (Optional) Edit .eleventy.js with your configuration preferences.
  3. Delete this message from _includes/layouts/base.njk.

This is an Eleventy project created from the eleventy-starter repo.

Atom

Keyboard Shortcuts #

  • Edit
    • Move Line Up: ^โŒ˜ + Up
    • Move Line Down: ^โŒ˜ + Down
    • Duplicate Lines: โ‡งโŒ˜D
  • Find
    • Find File: โŒ˜P
    • Select Next: Select text, then โŒ˜D
    • Select All: Select text, then ^โŒ˜G
  • Select
    • Split into Lines: โ‡งโŒ˜L
  • Packages
    • Command Palette
      • Toggle: โ‡งโŒ˜P
    • Symbols
      • File Symbols: โŒ˜R

Package Manager #

I use the Stars functionality to keep a list of the packages I use:

  • Star all installed packages (you will be prompted for an API token from https://atom.io/account): apm star --installed
  • List starred packages: apm stars or apm starred
  • Install all starred packages: apm stars --install or apm starred --install

Snippets #

Selectors #

  • ALL Selector: *
  • HTML Selector: .text.html.basic (not .source.html)
  • PHP Selector: .text.html.php (not .source.php)
  • CSS Selector: .source.css
  • JS Selector: .source.js
  • Markdown Selector: .text.md

Show closing brace/tag when folding code blocks #

Add below code to ~/.atom/config.cson:

".basic.html.text":
editor:
foldEndPattern: ""
".css.source":
editor:
foldEndPattern: ""
".html.php.text":
editor:
foldEndPattern: ""
".js.jsx.source":
editor:
foldEndPattern: ""
".js.source":
editor:
foldEndPattern: ""

Note: This doesn't seem to work with a wildcard for the source type.

Found the answer in this Atom issue thread on GitHub: https://github.com/atom/atom/issues/11179

Hide Ignored Names In Tree View #

Hide files & directories in Tree View that match glob patterns in Settings > Core > Ignored Names:

  • Preferences > Settings > Packages > Tree View > Hide Ignored Names

Share on Twitter