Permalink
Switch branches/tags
Nothing to show
Find file
73a5b3b Jun 8, 2014
62 lines (55 sloc) 2.18 KB
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Aliases
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
alias leftthird move screenOriginX;screenOriginY screenSizeX/3;screenSizeY
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
alias rightthird move screenOriginX+screenSizeX/3+screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
alias middlethird move screenOriginX+screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
alias tophalf move screenOriginX;screenOriginY screenSizeX;screenSizeY/2
alias bottomhalf move screenOriginX;screenOriginY+screenSizeY/2 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
# Resize Bindings
bind l:alt resize +1% +0
bind h:alt resize -1% +0
bind k:alt resize +0 -1%
bind j:alt resize +0 +1%
bind l:ctrl;alt resize -1% +0 bottom-right
bind h:ctrl;alt resize +1% +0 bottom-right
bind k:ctrl;alt resize +0 +1% bottom-right
bind j:ctrl;alt resize +0 -1% bottom-right
# Move/Corner bindings
bind return:shift;cmd ${full}
bind k:shift;cmd ${tophalf}
bind j:shift;cmd ${bottomhalf}
bind h:shift;cmd ${lefthalf} 0
bind h:shift;cmd;ctrl ${lefthalf} 1
bind h:shift;alt;cmd ${leftthird}
bind i:shift;alt;cmd ${middlethird}
bind b:shift;cmd ${bottomleft}
bind y:shift;cmd ${topleft}
bind l:shift;cmd ${righthalf} 0
bind l:shift;cmd;ctrl ${righthalf} 1
bind l:shift;alt;cmd ${rightthird}
bind .:shift;cmd ${bottomright}
bind p:shift;cmd ${topright}
# Nudge Bindings
bind l:shift;alt nudge +1% +0
bind h:shift;alt nudge -1% +0
bind k:shift;alt nudge +0 -1%
bind j:shift;alt nudge +0 +1%
# Focus Bindings
bind l:shift;ctrl focus right
bind h:shift;ctrl focus left
bind k:shift;ctrl focus up
bind j:shift;ctrl focus down
bind k:shift;ctrl;alt focus above
bind j:shift;ctrl;alt focus behind
# App Bindings
bind u:shift;cmd focus 'iTerm'
bind i:shift;cmd focus 'iTunes'