24 lines
432 B
Markdown
24 lines
432 B
Markdown
# cot
|
|
|
|
> macOS 的纯文本编辑器。
|
|
> 更多信息:<https://coteditor.com/>.
|
|
|
|
- 启动 CotEditor:
|
|
|
|
`cot`
|
|
|
|
- 打开特定文件:
|
|
|
|
`cot {{path/to/file1 path/to/file2 ...}}`
|
|
|
|
- 打开一个新的空文档:
|
|
|
|
`cot --new`
|
|
|
|
- 打开一个特定文件并在关闭之前阻塞终端:
|
|
|
|
`cot --wait {{path/to/file}}`
|
|
|
|
- 打开一个特定文件,并将光标放置在特定行和列:
|
|
|
|
`cot --line {{1}} --column {{80}} {{path/to/file}}` |