snippetbashTip
atom — A cross-platform pluggable text editor. Plugins are managed by `apm`. Note: Atom has been sunsetted
Viewed 0 times
editorcommandtextcliatomplatformcrosspluggable
Problem
How to use the
atom command: 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 information: <https://atom.io/>.Solution
atom — 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 information: <https://atom.io/>.Open a file or directory:
atom {{path/to/file_or_directory}}Open a file or directory in a new window:
atom {{[-n|--new-window]}} {{path/to/file_or_directory}}Open a file or directory in an existing window:
atom {{[-a|--add]}} {{path/to/file_or_directory}}Open 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]}}Code Snippets
Open a file or directory
atom {{path/to/file_or_directory}}Open a file or directory in a new window
atom {{[-n|--new-window]}} {{path/to/file_or_directory}}Open a file or directory in an existing window
atom {{[-a|--add]}} {{path/to/file_or_directory}}Open 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]}}Context
tldr-pages: common/atom
Revisions (0)
No revisions yet.