tldr/pages/common/atom.md

30 lines
659 B
Markdown
Raw Normal View History

2016-01-22 04:37:14 +00:00
# atom
2016-02-25 20:11:24 +00:00
> A cross-platform pluggable text editor.
> Plugins are managed by `apm`.
> More information: <https://atom.io/>.
2016-01-22 04:37:14 +00:00
- Open a file or directory:
2016-01-22 04:37:14 +00:00
`atom {{path/to/file_or_directory}}`
2016-01-22 04:37:14 +00:00
- Open a file or directory in a new window:
2016-01-22 04:37:14 +00:00
`atom -n {{path/to/file_or_directory}}`
2018-05-03 16:44:38 +01:00
- Open a file or directory in an existing window:
2018-07-24 10:38:29 +01:00
`atom --add {{path/to/file_or_directory}}`
2018-07-24 10:38:29 +01:00
- Open Atom in safe mode (does not load any additional packages):
2018-05-03 16:44:38 +01:00
`atom --safe`
- Prevent Atom from forking into the background, keeping Atom attached to the terminal:
2018-05-03 16:44:38 +01:00
`atom --foreground`
2021-01-07 14:06:38 +00:00
- Wait for Atom window to close before returning (useful for Git commit editor):
`atom --wait`