2025-03-14 21:59:59 -06:00
|
|
|
# mate
|
|
|
|
|
|
|
|
|
|
> General-purpose text editor for macOS.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://macromates.com/textmate/manual/opening-files#mate>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Start TextMate:
|
|
|
|
|
|
|
|
|
|
`mate`
|
|
|
|
|
|
|
|
|
|
- Open specific files:
|
|
|
|
|
|
|
|
|
|
`mate {{path/to/file1 path/to/file2 ...}}`
|
|
|
|
|
|
|
|
|
|
- Specify the filetype of a file:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`mate {{[-t|--type]}} {{filetype}} {{path/to/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open and wait until finished editing a specific file:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`mate {{[-w|--wait]}} {{path/to/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open a file with the cursor at a specific line and column:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`mate {{[-l|--line]}} {{line_number}}:{{column_number}} {{path/to/file}}`
|