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

488 B

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