I am using windows and have successfully added sublime to the PATH. It seems that commands like -b for open in background do not work for whatever reason. My question is how can I open a directory with the command subl ./dir and open each file individually? Right now it adds it to the project and I would much rather it just open every file separately.
Open one of the projects in Sublime Text just like you always do. Do one of the following: Drag the root directory of the second project from the file explorer to the sidebar of the first project ST window. In your terminal cd to the second project and enter subl .
Use the Search all shortcut: Ctrl + Shift + F , then select the folder in the "Where:" box below. (And for Mac, it's ⌘ + Shift + F ).
You can try
> subl dir/*
Alternatively, you can open the project in a dir > subl dir
and then install EnhancedSidebar package in sublime. This allows you to select multiple file right click them and click edit. Hope this is what you're looking for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With