Skip to content

Instantly share code, notes, and snippets.

@vojd
Created April 2, 2013 07:42
Show Gist options
  • Save vojd/5290580 to your computer and use it in GitHub Desktop.
Save vojd/5290580 to your computer and use it in GitHub Desktop.
Slate configuration
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Resize Bindings
bind right:cmd;alt resize +10% +0
bind left:cmd:alt resize -10% +0
bind up:cmd;alt resize +0 -10%
bind down:cmd;alt resize +0 +10%
bind right:ctrl;cmd;alt resize -10% +0 bottom-right
bind left:ctrl;cmd;alt resize +10% +0 bottom-right
bind up:ctrl;cmd;alt resize +0 +10% bottom-right
bind down:ctrl;cmd;alt resize +0 -10% bottom-right
# Push Bindings
bind right:ctrl;shift push right bar-resize:screenSizeX/3
bind left:ctrl;shift push left bar-resize:screenSizeX/3
bind up:ctrl;shift push up bar-resize:screenSizeY/2
bind down:ctrl;shift push down bar-resize:screenSizeY/2
# Nudge Bindings
;cmd nudge +10% +0
bind left:ctrl;alt nudge -10% +0
bind right:ctrl;alt nudge +10% +0
bind up:ctrl;alt nudge +0 -10%
bind down:ctrl;alt nudge +0 +10%
# Throw Bindings
#bind 1:ctrl;alt throw 0 resize
#bind 2:ctrl;alt throw 1 resize
#bind 3:ctrl;alt throw 2 resize
#bind right:ctrl;alt;cmd throw right resize
#bind left:ctrl;alt;cmd throw left resize
#bind up:ctrl;alt;cmd throw up resize
#bind down:ctrl;alt;cmd throw down resize
# Focus Bindings
bind right:cmd focus right
bind left:cmd focus left
bind up:cmd focus up
bind down:cmd focus down
#bind up:cmd;alt focus behind
#bind down:cmd;alt focus behind
# Window Hints
bind esc:cmd hint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment