mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Update the plugins managment. Add the function 'omz-plugin' (inspired from bash-it)
This commit is contained in:
parent
d2725d44fc
commit
5c4f982ff7
417 changed files with 124 additions and 1 deletions
21
plugins/available/sublime/README.md
Normal file
21
plugins/available/sublime/README.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
## 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
|
||||
|
||||
* If `st` is passed a file, open it in Sublime Text
|
||||
|
||||
* 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.
|
||||
|
||||
* If `stp` command is called, it find a `.sublime-project` file by traversing up the directory structure. If there is no `.sublime-project` file, but if the current folder is a Git repo, opens up the root directory of the repo. If the current folder is not a Git repo, then opens up the current directory.
|
||||
Loading…
Add table
Add a link
Reference in a new issue