8 ms·
Anyone have a clue as to what were supposed to be able to do with this "Windows: Added command line helper, subl.exe". I'm guessing it's mainly for a shorter e
by wickchuck 12y ago
Anyone have a clue as to what were supposed to be able to do with this "Windows: Added command line helper, subl.exe". I'm guessing it's mainly for a shorter exe name to add to your path when launching sublime from the command line, but maybe I'm missing something?
- dedward 12y agoIt's just to launch the editor from the command-line. IT's nothing new - sublime text 2 (at least on OS X) had the "subl" command so you could launch an edit session from the cli.. I assumed the rest had the same. It's certainly not a new feature or anything to celebrate.
- Tyr42 12y agoThe reason it exists is for things like git, so they can launch the editor aimed at a commit message, then block until the editor closes and then continue. It's also useful if you want to open the editor aimed at a file in the current directory without re-navigating there in the gui.
- gcassie 12y agoIf it works like the OSX subl command, it integrates with git nicely so it can pause git commands to allow you edit commit messages in sublime and resume the command once you save. If you try to do this with standard exe in windows, the git command will run start to finish and you will not be able to edit the commit messages in sublime.