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
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 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
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.