Atom
Keyboard Shortcuts
- Edit
- Move Line Up:
^โ + Up - Move Line Down:
^โ + Down - Duplicate Lines:
โงโD
- Move Line Up:
- Find
- Find File:
โP - Select Next: Select text, then
โD - Select All: Select text, then
^โG
- Find File:
- Select
- Split into Lines:
โงโL
- Split into Lines:
- Packages
- Command Palette
- Toggle:
โงโP
- Toggle:
- Symbols
- File Symbols:
โR
- File Symbols:
- Command Palette
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 starsorapm starred - Install all starred packages:
apm stars --installorapm 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
Published