Skip to content

Instantly share code, notes, and snippets.

@StephenRadachy
Created February 22, 2017 05:17
Show Gist options
  • Save StephenRadachy/22b3ee627599931faef926614544caf3 to your computer and use it in GitHub Desktop.
Save StephenRadachy/22b3ee627599931faef926614544caf3 to your computer and use it in GitHub Desktop.
Slate Configuration
# Slate documentation:
# https://github.com/jigish/slate
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Push Bindings
# 1/2 of screen
bind right:ctrl;cmd push right bar-resize:screenSizeX/2
bind left:ctrl;cmd push left bar-resize:screenSizeX/2
# 1/3 of screen
bind right:alt;cmd push right bar-resize:screenSizeX/3
bind left:alt;cmd push left bar-resize:screenSizeX/3
bind up:alt;cmd chain push left bar-resize:screenSizeX/3 | push up center
bind down:alt;cmd chain push left bar-resize:screenSizeX/3 | push up center
# 2/3 of screen
bind left:shift;cmd push left bar-resize:2*screenSizeX/3
bind right:shift;cmd push right bar-resize:2*screenSizeX/3
# fullscreen
bind up:ctrl;cmd push up bar-resize:screenSizeY
bind down:ctrl;cmd push down bar-resize:screenSizeY
## Throw Bindings
bind right:ctrl;alt;cmd throw right
bind left:ctrl;alt;cmd throw left
bind up:ctrl;alt;cmd throw up
bind down:ctrl;alt;cmd throw down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment