Open files and folders in same window in Sublime Text

corysimmons picture corysimmons · Jan 9, 2014 · Viewed 23k times · Source

If I open ~/foo.txt then open ~/baz/bar.txt from Terminal, Sublime Text always opens 2 different windows. It's aggravating to have all these different windows open..

I've tried changing a bunch of ST's settings, but nothing seems to fix this.

Is there a way to have ALL files and folders just open up in the same window as if I were manually adding all these folders to the project?

Answer

BENARD Patrick picture BENARD Patrick · Jan 9, 2014

In Sublime Text Menu:

Preferences ->  Settings - User

Look for 'open_files_in_new_window'

And change 'true' with 'false'