It's pretty unclear the philosophy of Sublime Text (3 in my case) concerning opening program from command line.
With version 2, if I wanted to open Sublime with the current working directory I would type subl . &
. With version 3, the &
has become optional, the instance is automatically sent to the background.
That's good, but if there already was an instance of sublime to be restored, both window become open.
What I'd expect by running subl .
.
(working directory) to the left panel (they call it Add to the project)Is there any chance I can achieve that?
Maybe I should use what they call project
, but that's pretty unnatural to me: sublime should open and close files, so only 1 window, with many folders in the left panel I can manage is the best.
Cool, I found it:
subl --add .
From subl --help
.
I've aliased it: alias subl="subl --add"
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments