Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Slate config
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Resize Bindings - cmd+alt for resizing
bind right:alt;cmd resize +10% +0
bind left:alt;cmd resize -10% +0
bind up:alt;cmd resize +0 -10%
bind down:alt;cmd resize +0 +10%
# Push Bindings - cmd+ctrl
bind right:ctrl;cmd push right bar-resize:screenSizeX*2/5
bind left:ctrl;cmd push left bar-resize:screenSizeX*3/5
bind up:ctrl;cmd push up bar-resize:screenSizeY*3/4
bind down:ctrl;cmd push down bar-resize:screenSizeY/4
# Nudge Bindings - alt+shift
bind right:cmd;shift;alt nudge +10% +0
bind left:cmd;shift;alt nudge -10% +0
bind up:cmd;shift;alt nudge +0 -10%
bind down:cmd;shift;alt nudge +0 +10%
# Throw Bindings: ctrl+alt
bind 1:ctrl;alt throw 0 resize
bind 2:ctrl;alt throw 1 resize
bind 3:ctrl;alt throw 2 resize
# Focus Bindings
bind right:cmd;alt;ctrl focus right
bind left:cmd;alt;ctrl focus left
bind up:cmd;alt;ctrl focus up
bind down:cmd;alt;ctrl focus down
# Window Hints
bind esc:cmd hint
# Show grid
bind g:cmd;ctrl;alt grid padding:5 1680x1050:16,9 1050x1680:9,16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment