How do you make Sublime Text 3 open a file in a new tab instead of opening it in the current tab?

When I click the file I want to open in Sublime, it is replacing the current tab I have open. It used to open it in a new tab.


Solution 1:

This is because you were only previewing the previous file. If you click on a file once in the sidebar, by default it opens in preview mode. Clicking another file will open it in preview mode, in the same tab. You can disable this behavior by double-clicking the file in the sidebar, by beginning to edit the file, or via the user settings: select Preferences -> Settings-User and add

"preview_on_click": false,

then save the file. With this new behavior, you will need to double-click on a file in the sidebar to open it, and it will not close if you double-click another file.

Solution 2:

Preferences -> Settings-User -> "open_files_in_new_window": false