|  | 7 years ago | |
|---|---|---|
| .. | ||
| README.md | 7 years ago | |
| sublime.plugin.zsh | 7 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	sublime
Plugin for Sublime Text, a cross platform text and code editor, available for Linux, Mac OS X, and Windows.
Requirements
Usage
- 
If stcommand is called without an argument, launch Sublime Text
- 
If stis passed a directory,cdto it and open it in Sublime Text
- 
If stis passed a file, open it in Sublime Text
- 
If sttcommand is called, it is equivalent tost ., opening the current folder in Sublime Text
- 
If sstcommand is called, it is likesudo st, opening the file or folder in Sublime Text. Useful for editing system protected files.
- 
If stpcommand is called, it find a.sublime-projectfile by traversing up the directory structure. If there is no.sublime-projectfile, 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.
- 
If stncommand is called without an argument, create a stub.sublime-projectfile in the current working directory if one does not already exist
- 
If stnis passed a directory, create a stub.sublime-projectfile in it