Ability to specify the Sublime Text window size in the launch command
It would be immensely useful if Sublime Text could have windows launched with specific sizes.
At the moment a new window can be launched using
-n or --new-window and a specific project with
--project <project>, as well as a variety of other command line options.
Adding something like
--size <WidthxHeight> would be fantastic.
I use Sublime Text for almost all of my text editing and usually have a very large window open containing a programming project. Often I’ll open a new ST window to write some notes, a forum post, to edit a system config file, or even to write an email, and these windows will mostly be opened on a different desktop workspace to my programming project window. When the new window opens it is huge, the same size as my programming project’s window, so it always needs to be resized. This becomes a real chore when it has to be done frequently every day and I’d really appreciate the ability to create some system hotkeys to launch ST windows with a variety of sizes each appropriate to the task in hand. Of course the size command line option could be used with the
--project option to load appropriate settings too; e.g. no minimap, ruler, or side bar for the forum posts window.
This feature would be easy to add since ST already stores, and then uses on launch, the size of the most recent window. The session file,
subl --new-window --size 900x1050 --project '/path/to/Forum Post.sublime-project'
subl --new-window --size 750x500 --project '/path/to/Git Commit.sublime-project' --wait