mate: add page (#8206)

pull/1/head
Ethan Kinnear 2022-07-14 00:25:43 -05:00 committed by GitHub
parent 3d8df897be
commit b8fecc0485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/osx/mate.md Normal file
View File

@ -0,0 +1,24 @@
# 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}}`