Sublime Forum

Open settings in a new tab instead of a new window

#1

I have on my settings “open_files_in_new_window”: false, but when I dow super + , a new window opens with the settings instead of a new tab.

0 Likes

#2

open_files_in_new_window doesn’t affect the command edit_settings (the command that is run when you press super+, on OSX by default.

Indeed:

OS X only: When files are opened from finder, or by dragging onto the
dock icon, this controls if a new window is created or not.

Alternative

If you only care about the User setting file, you can just set a shortcut to open this one only:

{"keys": ["super+,"], "command": "open_file", "args": {
    "file": "$packages/User/Preferences.sublime-settings"
}}
0 Likes

#3

thanks! It works fine

0 Likes

#4

Do note that:

  • for comparison’s sake the settings are opened side-by-side in a new window
  • your cursor will be in the user settings tab
  • the whole window will close when closing the tab with the user settings

I’d suggest you keep the default behavior, because it doesn’t slow you down and you have a reference should you need it (when there are new settings you don’t know off the top of your head).

2 Likes