ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Smart​New​Window

by maliayas ST3

Create new Sublime Text window by replicating existing workspace folders

Details

Installs

  • Total 263
  • Win 126
  • OS X 80
  • Linux 57
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 2 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
OS X 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SmartNewWindow

SmartNewWindow is a Sublime Text plugin that combines 3 commands in one keybinding:

  • New workspace for the project
  • New workspace for the open folders
  • New window

Picking the appropriate one is based on the context:

  1. If there is an open project, a new workspace is created.
  2. If there is no open project but there are open folders, then the unsaved workspace is replicated (only folders). Sublime Text doesn't offer this natively.
  3. Otherwise an empty window is created.

The keybinding is CtrlShiftN for Windows/Linux and N for OS X.

Overview

Installation

You can install the plugin via

  • Package Manager by searching SmartNewWindow
  • git clone https://github.com/maliayas/SublimeText_SmartNewWindow.git SmartNewWindow
  • Downloading the zip of the repo and extracting into Packages/SmartNewWindow

Configuration

For customizing the keybinding, you can use the Preferences > Package Settings > Smart New Window menu.

License

SmartNewWindow is released under the MIT License.