ohmyzsh/plugins/sublime/README.md

19 lines
640 B
Markdown
Raw Normal View History

2015-02-24 20:58:50 +08:00
## sublime
Plugin for Sublime Text, a cross platform text and code editor, available for Linux, Mac OS X, and Windows.
### Requirements
* [Sublime Text](http://www.sublimetext.com/)
### Usage
* If `st` command is called without an argument, launch Sublime Text
* If `st` is passed a directory, `cd` to it and open it in Sublime Text
2015-02-24 21:05:58 +08:00
* If `st` is passed a file, open it in Sublime Text
2015-03-04 04:03:44 +08:00
* If `stt` command is called, it is equivalent to `st .`, opening the current folder in Sublime Text
* If `sst` command is called, it is like `sudo st`, opening the file or folder in Sublime Text. Useful for editing system protected files.