mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
540 B
Plaintext
30 lines
540 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# cot
|
|
|
|
> The Plain-Text Editor for macOS.
|
|
> More information: <https://coteditor.com/cot>.
|
|
|
|
- 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 {{1}} --column {{80}} {{path/to/file}}`
|