Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
5df484d5
Unverified
Commit
5df484d5
authored
Oct 12, 2018
by
Brian Mitchell
Committed by
GitHub
Oct 12, 2018
Browse files
Format as a list vs a table
parent
dd3c95c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/textmate/README.md
View file @
5df484d5
# TextMate plugin
# TextMate plugin
The plugin adds a
liases
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 | Descri
ption
|
The
`tm`
function provides the following o
ption
s:
|-----------------|-------------|---------------|
| tm |
`mate .`
| Open TextMate
in the current directory.
|
-
No arguments: Run
`mate`
in the current directory.
| tm
\<
directory> |
`mate <directory>`
`cd <directory>`
| Open TextM
ate in the given directory and cd to it.
|
-
Argument that is a directory: Run
`m
ate
`
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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment