Files
cheatsheet-tldr/tldr/osx/mate

30 lines
578 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`