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

Split​Screen-Resizer

by JesusContributions ST2 Missing

Sublime Text 2 Plugin to switch and resize 2-Columns layout in the fastest and most comfortable way.

Details

  • 2012.12.13.20.07.30
  • github.​com
  • 12 years ago
  • 4 years ago
  • 13 years ago

Installs

  • Total 1K
  • Win 504
  • Mac 496
  • Linux 269
May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 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
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-Resizer

A Sublime Text 2 plugin created to switch and resize a 2-Columns layout in the easiest and most confortable way. Just press the keyboard shortcuts and the plugin will make the indicated column your working column, by automatically focusing on it and making it wider.

No more going back to the mouse to manually resize your columns everytime you want to switch from one side to another.

Keys

Pressing Alt+Ctrl+left or Alt+Ctrl+right (or Ctrl+Super+left / Ctrl+Super+right on Linux) will switch focus to the respective column and resize it according to the configured ratio (which by default is “7:3” and “3:7”). You can change these ratios, the keyboard shortcuts and the ability to autofocus when resizing in the settings of this package following the Preferences > Package Settings > SplitScreen-Resizer menu. You can even make it autosize the columns on mouse click or on Sublime's default Focus Group command.

So if you are a full-keyboard coder or a mouse lover, this plugin got you covered.

Credits

Created by

Jesus Leon (@iamjessu).

Contributors:

  • ArtisR (Artis Raugulis) - Added mouse focus.

This plugin combines functionalities from these plugins:

Updates

v1.3

  • Added onFocus support.
  • Ratios and behavior are configured in the settings file.

v1.2

  • Added autofocus feature.

v1.0

  • Resize columns by pressing the configured keys.

Notes

Numbers are treated as a ratio, so 50:50 is identical to 1:1.

For example:

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

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

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

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