-
Notifications
You must be signed in to change notification settings - Fork 2
/
slate
43 lines (34 loc) · 1.46 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
# config (for global configurations)
config defaultToCurrentScreen true
# Hyper key is the caps lock key aliassed through PCKeyboardHack and KeyRemapForMacbook
alias hyper ctrl;shift;alt;cmd
# Window sizes
config resizePercentOf screenSize
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 tophalf corner top-left resize:screenSizeX;screenSizeY/2
alias bottomhalf corner bottom-left resize:screenSizeX;screenSizeY/2
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 window ctrl;alt;cmd
bind f:${window} ${full}
bind right:${window} ${righthalf}
bind left:${window} ${lefthalf}
bind up:${window} ${tophalf}
bind down:${window} ${bottomhalf}
# Application shortcut bindings
bind c:${hyper} focus 'Chromium'
bind a:${hyper} focus 'Airmail'
bind i:${hyper} focus 'iTerm'
bind p:${hyper} focus 'Path Finder'
# Hinting
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
#config windowHintsDuration 5
#config windowHintsOrder persist
l
bind space:${hyper} hint ASDFGHJKLQWERTYUIOPCVBN # use whatever keys you want