1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/cot.md
Ethan Kinnear ee5e558613
cot: add page (#8205)
* cot: add page

* cot: fix name of command

* cot: change "done" to "finished"

* Update pages/osx/cot.md

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>

* Update pages/osx/cot.md

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>

* cot: swap order of examples 2 and 3

* cot: specify that the window opens in the background

* cot: be more specific with the `--wait` example

* cot: remove "in the background"

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
2022-07-22 02:07:20 +10:00

468 B

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}}