Sublime Forum

Focus on right column at opening

#1

I would like to start Sublime Text 3 focused on right column, is it possible? This is my layout: goo.gl/1aYFAz

My workflow is based on opening CSS at the left and HTML, PHP & JS at right column. Therefore it’s more logical for me to open CSS after HTML-PHP and JS.

0 Likes

#2

If I close it with focus on right column, sublime will start with focus on that column

0 Likes

#3

Thanks for your feedback, in my case this doesn´t happend because I setted this two preferences in Settings - User:

“hot_exit”: false,
“remember_open_files”: false,

0 Likes

#4

Well, with these settings there is nothing in the right column… however, may you save the following as FocusSecondGroupAtStartup.py in your User/ folder

[code]import sublime_plugin, sublime

def plugin_loaded():
sublime.active_window().focus_group(1)
[/code]

0 Likes

#5

Works like a champ! thanks a lot!!!

0 Likes