atom
all
A cross-platform pluggable text editor. Plugins are managed by `apm`. Note: Atom has been sunsetted and is no longer actively maintained. Use `zed` instead.
More info →Options (4)
-n, --new-windowbooleanOpen a file or directory in a new window
Example:
atom {{[-n|--new-window]}} {{path/to/file_or_directory}}-a, --addbooleanOpen a file or directory in an existing window
Example:
atom {{[-a|--add]}} {{path/to/file_or_directory}}-f, --foregroundbooleanPrevent Atom from forking into the background, keeping Atom attached to the terminal
Example:
atom {{[-f|--foreground]}}-w, --waitbooleanWait for Atom window to close before returning (useful for Git commit editor)
Example:
atom {{[-w|--wait]}}Examples (6)
Open a file or directory
atom path/to/file_or_directoryOpen a file or directory in a new window
atom [-n|--new-window] path/to/file_or_directoryOpen a file or directory in an existing window
atom [-a|--add] path/to/file_or_directoryOpen Atom in safe mode (does not load any additional packages)
atom --safePrevent Atom from forking into the background, keeping Atom attached to the terminal
atom [-f|--foreground]Wait for Atom window to close before returning (useful for Git commit editor)
atom [-w|--wait]made by @shridhargupta | data from tldr-pages