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

Split​Screen

by spadgos ST2

ST2 Plugin to create custom split screen ratios

Details

  • 2012.01.15.14.37.00
  • github.​com
  • github.​com
  • 13 years ago
  • 2 hours ago
  • 13 years ago

Installs

  • Total 6K
  • Win 2K
  • Mac 3K
  • Linux 1K
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 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

SplitScreen is a Sublime Text 2 plugin which allows you to define custom ratios for split screen editing.


By default, Sublime has some predefined split-window configuration, accessible via the Alt+Shift+<number> hotkeys, however, if you want something other than these presets, it is quite difficult to create your own. Enter SplitScreen!

  1. To activate, press the hotkey, Alt+Shift+S, and an input box will appear at the bottom of the screen.

  2. Enter some ratios, horizontal (columns) first, and then vertical (rows) second. Numbers are treated as a ratio, so 50:50 is identical to 1:1. Separate columns and rows with a comma. If you want only one row or column, then that can be left blank.

For example:

50:50
(2 columns, equal width. 1 row)

--------------------
|        |         |
|        |         |
|        |         |
|        |         |
|        |         |
|        |         |
--------------------

1:2
(2 columns, one twice the width of the other. 1 row)

--------------------
|      |           |
|      |           |
|      |           |
|      |           |
|      |           |
--------------------

,1:1
(1 column, two rows equal width)

--------------------
|                  |
|                  |
--------------------
|                  |
|                  |
--------------------

70:30,2:1
(2 columns, 2 rows)

--------------------
|             |    |
|             |    |
|             |    |
|             |    |
--------------------
|             |    |
|             |    |
--------------------

Tip: To go back to just one window, you can enter an empty string, or a single number, or simply use the built-in hotkey Alt+Shift+1.