Sublime Forum

Slime gem for opening in terminal

#1
gem install slime

rubygems.org/gems/slime

The command will install a script that opens Sublime Editor when you use the command slime. OS X only I’m afraid.

0 Likes

Start sublime from git command line on windows?
#2

So this can’t be done with a simple bash (shell) script instead?
Also this leaves a terminal window on the screen every time I run it.
And directly executing Sublime text 2 beta from terminal spawns a new instance of the app instead of invoking the already running instance.

0 Likes

#3

there’s a subl command already on osx, which interacts well with an already-open sublime: sublimetext.com/docs/2/osx_command_line.html

0 Likes

#4

And this is my batch file for Windows:

github.com/luislavena/binfiles/ … r/subl.bat

0 Likes

#5

Awesome–thanks for this Luis!

0 Likes