Sublime Forum

Limit Sublime Text 4 to one copy

#1

I cannot seem to get Sublime Text 4 to open files in an existing instance rather than starting another copy of the app. I found this in the settings:

// On Mac, this value is overridden in the platform specific settings.
"open_files_in_new_window": "never",

What name is this file supposed to be and where should it be located? I am running MacOS Monterey.

Thanks!

0 Likes

#2

How are you opening the files?

0 Likes

#3

Launching from Forklift (a mac file management app).

0 Likes

#4

Have you configured it to launch the application or is it running the sublime_text executable directly?

0 Likes

#5

Configured to launch, how would I launch Sublime Text 4 directly (Mac) from the command line?

0 Likes

#6

From the command line you’d use the command line tool as described here: https://www.sublimetext.com/docs/command_line.html, or the open command for launching an application.

0 Likes

#7

Thanks! I have it working as desired now. :slight_smile:
-gl

0 Likes