Sublime Forum

How to configure Sublime 3 on Mac Ventura to open files from finder in a new tab?

#1

My Sublime 3 settings are configured as follows below. My expectation is that when I open files from Finder, they would be opened in a new Sublime tab. However, files are opened in a new window when I double-click on Finder or select ‘Open with’. Is there a way to change this behavior in OS settings (Ventura 13.1) or in the Sublime settings?

// When files are opened from a file explorer or from the command line, this
// controls whether a new window is created or not.
// - "never": Never open a new window unless no window is open.
// - "always": Always open files in a new window.
// - "finder_only": (macOS only) Only open files in a new window when
//                  opening them from finder or dragging onto the dock icon.
//
// On Mac, this value is overridden in the platform specific settings.

"open_files_in_new_window": "never",
0 Likes

#2

Setting "open_files_in_new_window": "never" should do that. Note that the default is "finder_only" on macOS.

0 Likes

#3

Sorry, but as I mentioned in my post, it’s already “never” and still the files are opened in a new window instead of a new tab. UPD: My bad, I misinterpreted the actual settings file and the exemplary file (shown on the left). I’ve updated the actual file and this is working fine now.

1 Like