Sublime Forum

Open current tab in new window

#1

Hi there!

Is there any command currently to open a particular tab in a new window in Sublime? This would be similar to the Shift+W command on the Vimium extension for Chrome. A quick google search for the feature didn’t turn up any results. I think this could be a very useful feature, especially for those of us working from the command line.

Thanks for the insight! :smile:

Manni

0 Likes

#2

A quick follow up:

Looks like opening up files from the command line in Sublime by invoking the application with the file name

subl README.md

will often open the file in the most recently used window. If sublime is your default text editor (on a Mac, at least), opening files using the ‘open’ command, via terminal,

open README.md

seems to open them in a new sublime window.

Not necessarily the most intuitive workflow, but one way to solve my current problem.

My alternative, desired, approach, would be to use subl README.md to open a file, and then a shortcut to open that tab in a new window, should I want to – OR to have sublime always open new files from the command line in a new window, as it does when you open them from Finder. If anyone knows how to do this, or has any alternative suggestions – I’d be interested to hear!

0 Likes

#3

Use the --new-window option from the command line – how to mark question as answered?

0 Likes