Adding slate config file.

This commit is contained in:
Dustin Swan 2013-03-18 13:06:48 -05:00
parent e1a82d20ba
commit b00dc3b206

24
slate.js Normal file
View file

@ -0,0 +1,24 @@
var pushLeftHalf = slate.operation("push", {
"direction" : "left",
"style" : "bar-resize:screenSizeX/2"
});
var pushLeftThird = slate.operation("push", {
"direction" : "left",
"style" : "bar-resize:screenSizeX/3"
});
var pushRightHalf = slate.operation("push", {
"direction" : "right",
"style" : "bar-resize:screenSizeX/2"
});
var pushRightThird = slate.operation("push", {
"direction" : "right",
"style" : "bar-resize:screenSizeX/3"
});
slate.bind("left:ctrl,alt,cmd", pushLeftHalf);
slate.bind("left:ctrl,alt,cmd,shift", pushLeftThird);
slate.bind("right:ctrl,alt,cmd", pushRightHalf);
slate.bind("right:ctrl,alt,cmd,shift", pushRightThird);