If I open a directory in Sublime using the command line (subl path/to/my/folder/
), Sublime will open two instances: one with the directory I asked for, and another one with the directory I opened last time I used Sublime. Any idea why ?
I don't know if it's revelant, but the problem occurs with Ubuntu 12.04.
If you often work on the different projects in Sublime Text being able to open the current path in Terminal is a big time saver. Run this command in Terminal now when you type subl Sublime Text should open. Now to open a folder type subl . will open the current folder in Sublime Text.
Just Use the command subl to open sublime text from terminal. if you want to open a specific file use subl path/to/the/file .
To run the code, press Command B or go to Tools -> Build. As you can see, my Sublime Text is running Python 2.7.
Thanks for the link, this worked for me.
Do the following: Preferences > Settings - User
Once you enter the file 'Preferences.sublime.settings' add between the brackets following lines.
{ "hot_exit": false, "remember_open_files": false }
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