You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the plugin to the list of plugins for Oh My Zsh to load:
plugins=(sublime)
Start a new terminal session.
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 (in the current window, if there is one open, it is equivalent to subl -a).
If st is passed a file, open it in Sublime Text (in the current window, if there is one open, it is equivalent to subl -a).
If stt command is called, opening the current folder in Sublime Text (in the current window, if there is one open, it is equivalent to subl -a . or st .).
If sst command is called, it is like sudo st, opening the file or folder in Sublime Text (in the current window, if there is one open, it is equivalent to sudo subl -a). 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 (in the current window, if there is one open).
About
Same as the official Sublime plugin for Oh My Zsh, but this opens files in the current Sublime window, if there is one already open.