tldr/pages/osx/mate.md

25 lines
488 B
Markdown
Raw Normal View History

2022-07-14 06:25:43 +01:00
# mate
> General-purpose text editor for macOS.
> More information: <https://macromates.com/>.
- Start TextMate:
`mate`
- Open specific files:
`mate {{path/to/file1 path/to/file2 ...}}`
- Specify the filetype of a file:
`mate --type {{filetype}} {{path/to/file}}`
- Open and wait until finished editing a specific file:
`mate --wait {{path/to/file}}`
- Open a file with the cursor at a specific line and column:
`mate --line {{line_number}}:{{column_number}} {{path/to/file}}`