Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 28 lines (23 sloc) 1.032 kb
40cfd2a @ArtisR Created default settings
ArtisR authored
1 {
9e5c4da @JesusLeon A small cleanup and version fixes
authored
2 // *** Understanding the way this plugin works ***
40cfd2a @ArtisR Created default settings
ArtisR authored
3
9e5c4da @JesusLeon A small cleanup and version fixes
authored
4 // Action, reaction:
5 // Case 1: If user focus, the plugin resizes.
6 // Case 2: If user resizes, the plugin focus.
7
8
bcd352b @JesusLeon Update splitscreen-resizer.sublime-settings
authored
9 // Case 1.
10 // Resize when giving focus to a Group (column)?
11 // Note that Sublime API triggers this event on the following cases:
12 // - When clicking on the working area of a column *BUT* not on the scroll bar
13 // and the Minimap.
14 // - When clicking on a Tab of a column. That includes the Close (x) button.
15 // - When giving focus to a column using default key shortcuts: Ctrl+{NUMBER}.
9e5c4da @JesusLeon A small cleanup and version fixes
authored
16 "resize_on_focus" : true,
17
bcd352b @JesusLeon Update splitscreen-resizer.sublime-settings
authored
18 // Case 2.
19 // Focus when resizing using this plugin's keyboard shortcuts?
20 // If false, it will only resize the columns keeping the focus where it is.
21 // This can be useful depending on how your ratios are defined.
22 "focus_on_resize" : true,
9e5c4da @JesusLeon A small cleanup and version fixes
authored
23
bcd352b @JesusLeon Update splitscreen-resizer.sublime-settings
authored
24 // Columns resize ratios:
25 // Remember that 70:30 = 7:3 = 0.7:0.3
26 "ratio_left" : "65:35",
27 "ratio_right" : "35:65"
40cfd2a @ArtisR Created default settings
ArtisR authored
28 }
Something went wrong with that request. Please try again.