I’ve been able to mostly make sublime suitable for use from the Windows command line (setting it in the EDITOR environment var for tools like git) by using the undocumented --multiinstance flag (see --wait command line option on Windows?). However, if there were tabs open the last sublime was closed, these tabs always get reloaded when sublime launches, which is annoying when you’re just trying to edit a single file. Is there any way to prevent those tabs from reopening?
Maybe the -n command line flag should work that way? If sublime is already running, launching it again with -n opens a new empty window, so it would be consistent to do the same thing when it launches and it’s not already running. Thanks…