snippetbashTip
cot — The Plain-Text Editor for macOS. More information: <https://coteditor.com/cot>.
Viewed 0 times
theplaineditorcommandcottextclifor
macos
Problem
How to use the
cot command: The Plain-Text Editor for macOS. More information: <https://coteditor.com/cot>.Solution
cot — The Plain-Text Editor for macOS. More information: <https://coteditor.com/cot>.Start CotEditor:
cotOpen specific files:
cot {{path/to/file1 path/to/file2 ...}}Open a new blank document:
cot --newOpen 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}}Code Snippets
Start CotEditor
cotOpen specific files
cot {{path/to/file1 path/to/file2 ...}}Open a new blank document
cot --newOpen 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}}Context
tldr-pages: osx/cot
Revisions (0)
No revisions yet.