Home Download Buy Blog Forum Support

subl for Windows

subl for Windows

Postby mcandre on Tue Feb 19, 2013 3:09 pm

Can we please get a proper port of the "subl" command line command for Windows?

Users can almost hack together this, by:

1. Adding the Sublime Text installation directory to PATH.
2. Launching a Git Bash terminal.
3. Calling sublime_text <file or directory> &.
4. Closing the duplicate project window that comes up (Sublime thinks you always want to open the last project).

None of these four things should be things users have to deal with in a proper "subl" command.

* subl.exe's directory should be appended to PATH during Sublime Text installation in Windows.
* subl should fork a thread for itself, returning control to the terminal it was called from.
* subl should not open the last project but only its argument <file or directory>.
mcandre
 
Posts: 5
Joined: Sat Nov 10, 2012 5:40 am

Re: subl for Windows

Postby jkw on Wed Feb 20, 2013 11:15 am

Why would you need a command-line for Windows when the Command Prompt is awful?
jkw
 
Posts: 17
Joined: Sun Nov 04, 2012 3:02 pm

Re: subl for Windows

Postby jbjornson on Wed Feb 20, 2013 1:54 pm

jkw wrote:Why would you need a command-line for Windows when the Command Prompt is awful?


True, but some people are forced to use windows but would still like to be able to do normal things like setting up a batch process that involves the usage of SublimeText. I have no choice but to use windows at work and often create dos batch scripts to help with repetitive tasks. Having good command line access to applications has saved me a lot of time and seriously reduced the risk of human error creeping into some daily tasks that I need to perform.

Command line access will not always be done via the command prompt.
jbjornson
 
Posts: 279
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: eviloverlord, Exabot [Bot] and 1 guest