1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 10:59:32 +08:00
ohmyzsh/plugins/textmate
2018-10-12 19:08:18 -05:00
..
README.md Format as a list vs a table 2018-10-12 19:08:18 -05:00
textmate.plugin.zsh Update 'tm' function to take multiple files on the command-line 2016-03-25 11:57:09 -07:00

TextMate plugin

The plugin adds a function for the TextMate 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.