mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 10:59:58 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/atom
12
tldr/atom
@@ -7,20 +7,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> A cross-platform pluggable text editor.
|
||||
> Plugins are managed by `apm`.
|
||||
> Note: Atom has been sunsetted and is no longer actively maintained.
|
||||
> 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 [n]ew window:
|
||||
- Open a file or directory in a new window:
|
||||
|
||||
`atom -n {{path/to/file_or_directory}}`
|
||||
`atom {{[-n|--new-window]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Open a file or directory in an existing window:
|
||||
|
||||
`atom --add {{path/to/file_or_directory}}`
|
||||
`atom {{[-a|--add]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Open Atom in safe mode (does not load any additional packages):
|
||||
|
||||
@@ -28,8 +28,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Prevent Atom from forking into the background, keeping Atom attached to the terminal:
|
||||
|
||||
`atom --foreground`
|
||||
`atom {{[-f|--foreground]}}`
|
||||
|
||||
- Wait for Atom window to close before returning (useful for Git commit editor):
|
||||
|
||||
`atom --wait`
|
||||
`atom {{[-w|--wait]}}`
|
||||
|
||||
Reference in New Issue
Block a user