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`.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://atom.io/>.
|
2016-01-22 04:37:14 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
- Open a file or directory:
|
2016-01-22 04:37:14 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`atom {{path/to/file_or_directory}}`
|
2016-01-22 04:37:14 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
- Open a file or directory in a new window:
|
2016-01-22 04:37:14 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`atom -n {{path/to/file_or_directory}}`
|
2018-05-03 16:44:38 +01:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
- Open a file or directory in an existing window:
|
2018-07-24 10:38:29 +01:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`atom --add {{path/to/file_or_directory}}`
|
2018-07-24 10:38:29 +01:00
|
|
|
|
2020-01-24 00:35:34 +00:00
|
|
|
- Open Atom in safe mode (does not load any additional packages):
|
2018-05-03 16:44:38 +01:00
|
|
|
|
|
|
|
`atom --safe`
|
|
|
|
|
2020-01-24 00:35:34 +00:00
|
|
|
- Prevent Atom from forking into the background, keeping Atom attached to the terminal:
|
2018-05-03 16:44:38 +01:00
|
|
|
|
|
|
|
`atom --foreground`
|
2020-01-24 00:35:34 +00:00
|
|
|
|
2021-01-07 14:06:38 +00:00
|
|
|
- Wait for Atom window to close before returning (useful for Git commit editor):
|
2020-01-24 00:35:34 +00:00
|
|
|
|
|
|
|
`atom --wait`
|