conf2/zsh/.oh-my-zsh/plugins/textmate/README.md

18 lines
495 B
Markdown
Raw Normal View History

2019-01-12 15:47:23 +00:00
# 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:
2020-06-11 14:41:32 +00:00
```zsh
2019-01-12 15:47:23 +00:00
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.