Skip to content

Instantly share code, notes, and snippets.

@dunckr
Created December 5, 2013 18:06
Show Gist options
  • Save dunckr/7810284 to your computer and use it in GitHub Desktop.
Save dunckr/7810284 to your computer and use it in GitHub Desktop.
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Push Bindings
bind 1:shift;cmd push left bar-resize:screenSizeX/2
bind 2:shift;cmd push right bar-resize:screenSizeX/2
bind 3:shift;cmd push up bar-resize:screenSizeY/2
bind 4:shift;cmd push down bar-resize:screenSizeY/2
bind 5:shift;cmd corner top-left resize:screenSizeX/2;screenSizeY/2
bind 6:shift;cmd corner bottom-left resize:screenSizeX/2;screenSizeY/2
bind 7:shift;cmd corner top-right resize:screenSizeX/2;screenSizeY/2
bind 8:shift;cmd corner bottom-right resize:screenSizeX/2;screenSizeY/2
bind =:shift;cmd move screenOriginX;screenOriginY screenSizeX;screenSizeY
# Indent
bind ]:shift;cmd nudge +10% +0
bind [:shift;cmd nudge -10% +0
# Sublime and iTerm setup
layout tddMin 'Sublime Text 2' move screenOriginX;screenOriginY screenSizeX;screenSizeY*0.9
layout tddMin 'iTerm' push down bar-resize:screenSizeY/10
bind 9:shift;cmd layout tddMin
layout tdd 'Sublime Text 2' move screenOriginX;screenOriginY screenSizeX;screenSizeY*0.8
layout tdd 'iTerm' move screenOriginX;screenSizeY*0.8 screenSizeX;screenSizeY*0.25
bind 0:shift;cmd layout tdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment