Editing TextMate

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[wikipedia:TextMate]]
 
  
  
<code>[[brew install TextMate]]</code>
+
[[brew install TextMate]]
  
<pre>
 
mate 2.13.3 (Oct 12 2021)
 
Usage: mate [-wl<selection>t<filetype>m<name>rehv] [-u<identifier> | file ...]
 
        mate [-c<mark>] -s<mark>:<value> -l<line> [-u<identifier> | file ...]
 
        mate -c<mark> [-l<line>] [-u<identifier> | file ...]
 
 
Options:
 
  -w, --[no-]wait                Wait for file to be closed by TextMate.
 
  -l, --line <selection>          Setup <selection> after loading file.
 
  -t, --type <filetype>          Treat file as having <filetype>.
 
  -m, --name <name>              The display name shown in TextMate.
 
  -r, --[no-]recent              Add file to Open Recent menu.
 
  -u, --uuid <identifier>        Reference already open document with
 
                                  <identifier>.
 
  -e, --[no-]escapes              Set this to preserve ANSI escapes from stdin.
 
  -s, --set-mark <mark>[:<value>] Set a mark with optional <value> (requires --line).
 
  -c, --clear-mark <mark>        Clear a mark (clears all marks without --line).
 
  -h, --help                      Show this information.
 
  -v, --version                  Print version information.
 
 
Files opened via mate are added to the recent menu unless
 
the file starts with a period, --wait or --no-recent is
 
specified, or the file is in the system’s temporary directory.
 
 
By default mate will wait for files to be closed if the command name
 
has a "_wait" suffix (e.g. via a symbolic link) or when used as a
 
filter as in these examples:
 
 
    ls *.tex|mate|sh    -w implied
 
    mate -|cat -n      -w implied (read from stdin)
 
 
The -l/--line option requires a selection in the following format:
 
 
    selection    = <range> ('&' <range>)*
 
    range        = <pos> | <normal_range> | <column_range>
 
    pos          = <line> (':' <column>)? ('+' <offset>)?
 
    normal_range = <pos> '-' <pos>
 
    column_range = <pos> 'x' <pos>
 
    line        = [1-9][0-9]*
 
    column      = [1-9][0-9]*
 
    offset      = [1-9][0-9]*
 
</pre>
 
  
  
 +
{{mate}}
  
== See also ==
 
* {{mate}}
 
* {{vi}}
 
  
[[Category:Text]]
+
{{vi}}

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: