Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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. |