summaryrefslogtreecommitdiff
path: root/plugins/textmate/README.md
blob: 9fd342135f1141a7aabd590268308da2e14b3da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# TextMate plugin

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:
```
plugins=(... textmate)
```

## Function

The `tm` function provides the following options:

- No arguments: Run `mate` in the current directory.
- Argument that is a directory: Run `mate` in the given directory and cd to it.
- Other arguments: Pass all arguments to `mate`. This allows for easy opening of multiple files.