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