Мануалы и справочники OS X
mate

Команда mate: опции, ключи и примеры использования

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