New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sublime Text Remembering Layout Changes With Hot_Exit : False #1477
Comments
You could just write a plugin to change the layout to single for you when it loads:
|
Thanks Keith! I've never written a plugin before, but I just tried your example and it worked. My only issue with it is that ST3 opens to the split layout, then executes the plugin and resets the layout. There is a noticeable delay during which the split layout is still visible. Minor, I know. I'm still curious if hot_exit not resetting the window layout is a bug or intended behavior. |
I would guess that it is intended, simply because the workflow for deliberately, permanently changing the layout with The same thing annoys me even with |
Guess I will try to remember to close the settings window first :) |
Fixed in build 4114. The |
Summary
If hot_exit : false is set in user preferences, and view -> layout -> 2 (or greater) columns is chosen for a file, closing and reopening results in new files with a multi-column layout. This may have been an issue for some time, but I am only noticing it now since the settings change to display both default and user settings side by side in one window.
Expected behavior
With hot_exit : false, closing and reopening Sublime Text would result in the default layout. If Sublime Text is not remembering open files/tabs, I don't expect it to remember layout changes.
Actual behavior
Layout changes are remembered across sessions.
Steps to reproduce
NOTE: if you close the 2 column window before closing Sublime Text, it will behave as expected and open a new file at launch with one column.
Environment
The text was updated successfully, but these errors were encountered: