Browse Source

create atom.md

initial
Michal 4 years ago
parent
commit
308a0e40b5
1 changed files with 29 additions and 0 deletions
  1. 29 0
      pages.pl/common/atom.md

+ 29 - 0
pages.pl/common/atom.md

@@ -0,0 +1,29 @@
+# atom
+
+> A cross-platform pluggable text editor.
+> Plugins are managed by `apm`.
+> 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 {{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`