-
Notifications
You must be signed in to change notification settings - Fork 33
General Sublime Text resources and info
Zander Martineau edited this page Dec 21, 2013
·
5 revisions
- Perfect Workflow in Sublime Text by Jeffrey Way for Nettuts
Sublime comes with a command line tool, subl
, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR
for unix tools, such as git and subversion.
The first task is to make a symlink to subl
. Assuming you've placed Sublime Text in the Applications folder, and that you have a ~/bin
directory in your path, you can run:
- Sublime Text 2 (info):
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
- Sublime Text 3 (info):
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Typical usage would be to open a folder from the command line, for example cd
into your project directory, then run subl ./
View all pages here
If you think that I have missed an important package, made a mistake, or another packages has superseeded one on this list, I would love to know. Please create a new issue with a link to the new package.