tldr/pages/osx/cot.md

25 lines
447 B
Markdown
Raw Normal View History

# 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:
2023-02-19 12:34:39 +00:00
`cot --line {{1}} --column {{80}} {{path/to/file}}`