Created
July 6, 2013 08:34
-
-
Save olibob/5939261 to your computer and use it in GitHub Desktop.
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
# This is the default .slate file. | |
# If no ~/.slate file exists this is the file that will be used. | |
config defaultToCurrentScreen true | |
config keyboardLayout azerty | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows false | |
config windowHintsSpread 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 | |
# Numpad location Bindings | |
bind pad1 ${bottomleft} | |
bind pad2 push bottom bar-resize:screenSizeY/2 | |
bind pad3 ${bottomright} | |
bind pad4 ${lefthalf} | |
bind pad5 ${full} | |
bind pad6 ${righthalf} | |
bind pad7 ${topleft} | |
bind pad8 push top bar-resize:screenSizeY/2 | |
bind pad9 ${topright} | |
# Laptop location bindings | |
bind left:ctrl;alt ${bottomleft} | |
bind down:alt push bottom bar-resize:screenSizeY/2 | |
bind right:ctrl;alt ${bottomright} | |
bind left:alt ${lefthalf} | |
bind home:alt ${full} | |
bind right:alt ${righthalf} | |
bind up:ctrl;alt ${topleft} | |
bind up:alt push top bar-resize:screenSizeY/2 | |
bind down:ctrl;alt ${topright} | |
# Grid | |
bind end:alt grid padding:5 0:6,2 | |
# Layouts | |
layout standard 'iTerm':REPEAT ${lefthalf} | |
layout standard 'Sublime Text 2':REPEAT ${righthalf} | |
layout standard 'Path Finder':REPEAT ${topright} | |
layout standard 'Safari':REAPEAT ${full} | |
# Layout Bindings | |
bind l:cmd layout standard | |
# 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 AZERTQSDFWXCV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment