mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
25 lines
468 B
Markdown
25 lines
468 B
Markdown
![]() |
# cot
|
||
|
|
||
|
> The Plain-Text Editor for macOS.
|
||
|
> More information: <https://coteditor.com/>.
|
||
|
|
||
|
- Start CotEditor:
|
||
|
|
||
|
`cot`
|
||
|
|
||
|
- Open specific files:
|
||
|
|
||
|
`cot {{path/to/file1 path/to/file2 ...}}`
|
||
|
|
||
|
- Open a new blank document:
|
||
|
|
||
|
`cot --new`
|
||
|
|
||
|
- Open a specific file and block the terminal until it is closed:
|
||
|
|
||
|
`cot --wait {{path/to/file}}`
|
||
|
|
||
|
- Open a specific file with the cursor at a specific line and column:
|
||
|
|
||
|
`cot --line {{line_number}} --column {{column_number}} {{path/to/file}}`
|