by Anton Efimov
⌘ ⇧ P → Align
⌥ =
⌘ K, V
⌥ ⇧ ↓
⌥ ⇧ ↑
⌥ ↓
⌥ ↑
⌘ K, ⌘ F
⌘ K, ⌘ X
⌘ I
⌥ ⌘ ↑
⌥ ⌘ ↓
⌘ D → ⌘ ⇧ L
⌘ /
Sensible to language/syntax
⌘ ⇧ P
⌘ P
⌥ F12
F12
⇧ F12
F2
“Linting is the process of running a program that will analyse code for potential errors. ”
"markdownlint.config": {
"MD013": false,
"MD014": false,
"MD024": false,
"MD033": false,
"MD040": false,
"MD007": { "indent": 4 }
},
$ > z solution
Orion specific
alias rdep="rgrav deploy -R unison_frontend:0 -R unison_backend:0 -R unison_haproxy:0 -R connect:0 -p ec2"
alias rinv="rgrav invoke -p ec2"
$ > rdep
More examples
# Recursively delete `.DS_Store` files and Clean up LaunchServices to remove duplicates in the “Open With” menu
alias cleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder && find . -type f -name '*.DS_Store' -ls -delete"
# Get macOS Software Updates, and update installed Ruby gems, Homebrew and their installed packages
alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; gem update; gem cleanup; npm update'
To see your current aliases
$ > alias
This presentation was made using the following tools:
- This presentation's source code
- Export PDF of this presentation (Chrome only)
- Thanks for watching