From 308a0e40b51539601d677e73278b32e4d1fb860f Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 15 Apr 2020 17:31:04 +0200 Subject: [PATCH] create atom.md initial --- pages.pl/common/atom.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages.pl/common/atom.md diff --git a/pages.pl/common/atom.md b/pages.pl/common/atom.md new file mode 100644 index 0000000000..4a94669bbe --- /dev/null +++ b/pages.pl/common/atom.md @@ -0,0 +1,29 @@ +# atom + +> A cross-platform pluggable text editor. +> Plugins are managed by `apm`. +> More information: . + +- Open a file or directory: + +`atom {{path/to/file_or_directory}}` + +- Open a file or directory in a new window: + +`atom -n {{path/to/file_or_directory}}` + +- Open a file or directory in an existing window: + +`atom --add {{path/to/file_or_directory}}` + +- 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: + +`atom --foreground` + +- Wait for Atom window to close before returning (useful for git commit editor): + +`atom --wait`