Sublime Forum

Sublime starts always in the same folder "/var/www/"

#1

I don’t know why? But on Ubuntu subl always starts with the folder pane open in the root folder /var/www which is huge on my system, so the Laptop nearly freezes searching through the whole folderstructure.

How can I change this?

0 Likes

#2

Project -> Close Project or Project -> Remove all folders from project ?

0 Likes

#3

What’s your settings look like?
Do you have "remember_open_files": true,

0 Likes

#4

I cannot find the setting remember_open_files.

but I guess yes, I want to open the last folders, I used before.

didnt work

0 Likes

#5

The setting for remembering the previous session is hot_exit; it defaults to true:

    // Exiting the application with hot_exit enabled will cause it to close
    // immediately without prompting. Unsaved modifications and open files will
    // be preserved and restored when next starting.
    //
    // Closing a window with an associated project will also close the window
    // without prompting, preserving unsaved changes in the workspace file
    // alongside the project.
    "hot_exit": true,
0 Likes

#6

But I want to remember the last session.

I just don’t want to start a new window in /var/www/ which I never use, I selected that on my very first startup, but that was a mistake!

I want to open with just the folder from last session I used.

At the moment it always opens two windows: the correct last session and additionally that stupid /var/www/ folder which I always have to close. How do I get rid of this default fodler?

0 Likes

#7

As far as I know the only ways to make an extra new window open on startup (above what would normally reappear) is to pass -n as a command line argument when you start sublime.

Do you perhaps have a package of some sort installed that’s trying to do you favours?

0 Likes

#8

I will change to using Atom now because I cannot solve this problem.

good bye sublime! :wink:

0 Likes