Somebody works with options -w
and -s
with Command Line Usage? I use Git, but I can’t understand how these options function. Please, somebody could set a working example of application of these arguments? I couldn’t find working examples in the Internet. Thanks.
[Explained] «--wait» and «--stay» arguments for «subl» command
0 Likes
kingkeith
#2
https://help.github.com/articles/associating-text-editors-with-git/
example running it manually from CMD:
"%PROGRAMFILES%\Sublime Text 3"\subl -n -w -s "C:\tmp\scratchpad.py"
-n
opens a new window
without -s
, when you close the file in ST, CMD gets the focus again. with -s
, when you close the file in ST, ST keeps the focus.
-w
the CMD prompt can’t be used again until the file is closed in ST
1 Like