1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:42:08 +02:00
tldr/pages/osx/mate.md
2022-07-14 10:55:43 +05:30

24 lines
488 B
Markdown

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