Unverified Commit 5df484d5 authored by Brian Mitchell's avatar Brian Mitchell Committed by GitHub
Browse files

Format as a list vs a table

parent dd3c95c6
# TextMate plugin # TextMate plugin
The plugin adds aliases for the [TextMate](https://macromates.com) editor. The plugin adds a function for the [TextMate](https://macromates.com) editor.
To use it, add `textmate` to the plugins array of your zshrc file: To use it, add `textmate` to the plugins array of your zshrc file:
``` ```
plugins=(... textmate) plugins=(... textmate)
``` ```
## Aliases ## Function
| Alias | Command | Description | The `tm` function provides the following options:
|-----------------|-------------|---------------|
| tm | `mate .` | Open TextMate in the current directory. | - No arguments: Run `mate` in the current directory.
| tm \<directory> | `mate <directory>` `cd <directory>` | Open TextMate in the given directory and cd to it. | - Argument that is a directory: Run `mate` in the given directory and cd to it.
| tm <*> | `mate "$@"` | Pass all arguments to `mate`. This allows for easy opening of multiple files. | - Other arguments: Pass all arguments to `mate`. This allows for easy opening of multiple files.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment