snippetbashTip
mate — General-purpose text editor for macOS. More information: <https://macromates.com/textmate/manual/ope
Viewed 0 times
editorcommandtextclimatepurposegeneralfor
macos
Problem
How to use the
mate command: General-purpose text editor for macOS. More information: <https://macromates.com/textmate/manual/opening-files#mate>.Solution
mate — General-purpose text editor for macOS. More information: <https://macromates.com/textmate/manual/opening-files#mate>.Start TextMate:
mateOpen specific files:
mate {{path/to/file1 path/to/file2 ...}}Specify the filetype of a file:
mate {{[-t|--type]}} {{filetype}} {{path/to/file}}Open and wait until finished editing a specific file:
mate {{[-w|--wait]}} {{path/to/file}}Open a file with the cursor at a specific line and column:
mate {{[-l|--line]}} {{line_number}}:{{column_number}} {{path/to/file}}Code Snippets
Start TextMate
mateOpen specific files
mate {{path/to/file1 path/to/file2 ...}}Specify the filetype of a file
mate {{[-t|--type]}} {{filetype}} {{path/to/file}}Open and wait until finished editing a specific file
mate {{[-w|--wait]}} {{path/to/file}}Open a file with the cursor at a specific line and column
mate {{[-l|--line]}} {{line_number}}:{{column_number}} {{path/to/file}}Context
tldr-pages: osx/mate
Revisions (0)
No revisions yet.