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