Created
October 26, 2013 19:08
-
-
Save mitio/7173314 to your computer and use it in GitHub Desktop.
My https://github.com/jigish/slate config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Abstract positions | |
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY | |
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY | |
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 | |
alias hyper ctrl,shift,alt,cmd | |
# Grid | |
bind a:${hyper} grid padding:5 0:6,4 1:6,4 | |
# Resize bindings | |
bind down:${hyper} push bottom bar-resize:screenSizeY/2 | |
bind left:${hyper} ${lefthalf} | |
bind space:${hyper} ${full} | |
bind right:${hyper} ${righthalf} | |
bind up:${hyper} push top bar-resize:screenSizeY/2 | |
# Focus bindings | |
bind left:ctrl,alt,cmd focus left | |
bind right:ctrl,alt,cmd focus right | |
bind up:ctrl,alt,cmd focus up | |
bind down:ctrl,alt,cmd focus down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment