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
Ohmyzsh
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
Show whitespace changes
Inline
Side-by-side
plugins/textmate/README.md
View file @
5df484d5
# 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:
```
plugins=(... textmate)
```
##
Aliases
##
Function
| Alias | Command | Descri
ption
|
|-----------------|-------------|---------------|
| tm |
`mate .`
| Open TextMate
in the current directory.
|
| tm
\<
directory> |
`mate <directory>`
`cd <directory>`
| Open TextM
ate in the given directory and cd to it.
|
| tm
<
*
>
|
`mate "$@"`
|
Pass all arguments to
`mate`
. This allows for easy opening of multiple files.
|
The
`tm`
function provides the following o
ption
s:
-
No arguments: Run
`mate`
in the current directory.
-
Argument that is a directory: Run
`m
ate
`
in the given directory and cd to it.
-
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