-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.slate_keybindings
25 lines (18 loc) · 1.16 KB
/
.slate_keybindings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
alias half-screen-width screenSizeX/2
alias half-screen-height screenSizeY/2
alias two-third-screen-width screenSizeX*0.66
bind left:ctrl,alt,cmd corner top-left resize:${half-screen-width};screenSizeY
bind right:ctrl,alt,cmd corner top-right resize:${half-screen-width};screenSizeY
bind up:ctrl,alt,cmd corner top-left resize:screenSizeX;screenSizeY
bind down:ctrl,alt,cmd corner bottom-left resize:screenSizeX;${half-screen-height}
bind [:ctrl,alt,cmd throw prev resize:screenSizeX;screenSizeY
bind ]:ctrl,alt,cmd throw next resize:screenSizeX;screenSizeY
bind m:ctrl,alt,cmd move screenOriginX+screenSizeX*0.15;screenOriginY ${two-third-screen-width};screenSizeY
bind 1:ctrl,alt,cmd move screenOriginX;screenOriginY screenSizeX/7*2;screenSizeY
bind 2:ctrl,alt,cmd move screenOriginX+screenSizeX/7*2;screenOriginY screenSizeX/7*3;screenSizeY
bind 3:ctrl,alt,cmd move screenOriginX+screenSizeX/7*5;screenOriginY screenSizeX/7*2;screenSizeY
bind r:ctrl,alt,cmd relaunch
bind z:ctrl,alt,cmd undo