Files
tldr/pages.zh/common/atom.md

30 lines
679 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Atom
> 一个跨平台的可插拔文本编辑器。
> 插件由 `apm` 管理。
> 注意Atom 已停止更新,不再积极维护。
> 更多信息:<https://atom.io/>.
- 打开文件或目录:
`atom {{path/to/file_or_directory}}`
- 在 [n]ew 窗口中打开文件或目录:
`atom -n {{path/to/file_or_directory}}`
- 在现有窗口中打开文件或目录:
`atom --add {{path/to/file_or_directory}}`
- 以安全模式打开 Atom不加载任何额外的包
`atom --safe`
- 防止 Atom 进入后台,使 Atom 保持连接到终端:
`atom --foreground`
- 等待 Atom 窗口关闭后再返回(对 Git 提交编辑器有用):
`atom --wait`