2025-03-14 21:59:59 -06:00
|
|
|
# atom
|
|
|
|
|
|
|
|
|
|
> A cross-platform pluggable text editor.
|
|
|
|
|
> Plugins are managed by `apm`.
|
2025-12-16 10:20:31 -07:00
|
|
|
> Note: Atom has been sunsetted and is no longer actively maintained. Use `zed` instead.
|
2025-03-14 21:59:59 -06:00
|
|
|
> More information: <https://atom.io/>.
|
|
|
|
|
|
|
|
|
|
- Open a file or directory:
|
|
|
|
|
|
|
|
|
|
`atom {{path/to/file_or_directory}}`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Open a file or directory in a new window:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`atom {{[-n|--new-window]}} {{path/to/file_or_directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open a file or directory in an existing window:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`atom {{[-a|--add]}} {{path/to/file_or_directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open Atom in safe mode (does not load any additional packages):
|
|
|
|
|
|
|
|
|
|
`atom --safe`
|
|
|
|
|
|
|
|
|
|
- Prevent Atom from forking into the background, keeping Atom attached to the terminal:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`atom {{[-f|--foreground]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Wait for Atom window to close before returning (useful for Git commit editor):
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`atom {{[-w|--wait]}}`
|