-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.slate
54 lines (44 loc) · 1.88 KB
/
.slate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Slate configuration file
# Be sure to customize! See https://github.com/jigish/slate#configuring-slate
### Aliases
## Key aliases
alias hyper ctrl;shift;alt;cmd
## Application aliases
alias browser 'Google Chrome'
alias editor 'Emacs'
alias terminal 'iTerm'
## Position aliases
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
alias topleft corner top-left resize:screenSizeX/2;screenSizeY/2
alias topright corner top-right resize:screenSizeX/2;screenSizeY/2
alias bottomleft corner bottom-left resize:screenSizeX/2;screenSizeY/2
alias bottomright corner bottom-right resize:screenSizeX/2;screenSizeY/2
alias tophalf move screenOriginX;screenOriginY screenSizeX;screenSizeY/2
alias bottomhalf move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX;screenSizeY/2
### Bindings
## Focus Bindings
# These should be familiar to Vim users
# bind k:${hyper} focus up
# bind j:${hyper} focus down
# bind h:${hyper} focus left
# bind l:${hyper} focus right
## Location bindings
# These are laid out to be used with the right hand
# and to complement the focus bindings
bind o:${hyper} throw next
bind i:${hyper} ${full}
bind h:${hyper} ${lefthalf}
bind l:${hyper} ${righthalf}
bind j:${hyper} ${bottomhalf}
bind k:${hyper} ${tophalf}
bind y:${hyper} ${topleft}
bind u:${hyper} ${topright}
bind b:${hyper} ${bottomleft}
bind n:${hyper} ${bottomright}
## App bindings
# These are laid out on the left hand
bind space:${hyper} focus ${editor}
bind f:${hyper} focus ${browser}
bind d:${hyper} focus ${terminal}