浏览代码

textmate: add README (#7267)

Marc Cornellà 6 年之前
父节点
当前提交
489be2452a
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16 0
      plugins/textmate/README.md

+ 16 - 0
plugins/textmate/README.md

@@ -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.