From ee5e558613133da89efa96b58f578cdf9af76a9e Mon Sep 17 00:00:00 2001 From: Ethan Kinnear Date: Thu, 21 Jul 2022 11:07:20 -0500 Subject: [PATCH] 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> --- pages/osx/cot.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/osx/cot.md diff --git a/pages/osx/cot.md b/pages/osx/cot.md new file mode 100644 index 0000000000..865419daec --- /dev/null +++ b/pages/osx/cot.md @@ -0,0 +1,24 @@ +# cot + +> The Plain-Text Editor for macOS. +> More information: . + +- 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}}`