Newsletter

Prevent Sublime from Opening Old Windows

Scroll down
Fred Lackey
Fred Lackey
Expert:
  • Location
    Atlanta, Georgia
  • Experience
    40+ Years

2015-08-12

6:16 AM

fredlackey

Whenever I use my “Open with Sublime” context menu (shortcut menu) to open a folder with Sublime Text, it has this annoying habit of opening a previous window behind the new one. There’s an easy fix for this.  Edit your User Settings (Preferences > Settings > User) and add the following values:

{
  "hot_exit": false,
  "remember_open_files": false
}

This is a quick screenshot of the problem this fixes:

Once these settings are in place, the only window to open will be the window you want.

On a related note, here is the script to open any folder or file using the shortcut menu in Windows with Sublime Text 3:

Open with Sublime v3.bat (zipped file)

author avatar
fredlackey
Posted in Helpful Info
Write a comment
© 2024 Fred Lackey, All Rights Reserved.
Write me a message

    Messages and contact info remain private at all times.