Created
August 29, 2014 01:48
-
-
Save dxslly/dee49dd7ccf4477101b3 to your computer and use it in GitHub Desktop.
My Slate config
This file contains 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
# Alias' directive: alias name value | |
alias full move screenOriginX;screenOriginY screenSizeX;screenSizeY | |
alias lefthalf move screenOriginX;screenOriginY screenSizeX/2;screenSizeY | |
alias leftthird move screenOriginX;screenOriginY screenSizeX/3;screenSizeY | |
alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY | |
alias rightthird move screenOriginX+screenSizeX/3+screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY | |
alias middlethird move screenOriginX+screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY | |
alias tophalf move screenOriginX;screenOriginY screenSizeX;screenSizeY/2 | |
alias bottomhalf move screenOriginX;screenOriginY+screenSizeY/2 screenSizeX;screenSizeY/2 | |
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 | |
# Bind's directives: bind key:modifiers operation parameter+ | |
# Location - Sets the window to the specified location. | |
bind return:shift;cmd ${full} | |
bind k:shift;cmd ${tophalf} | |
bind j:shift;cmd ${bottomhalf} | |
bind h:shift;cmd ${lefthalf} | |
bind h:shift;alt;cmd ${leftthird} | |
bind i:shift;alt;cmd ${middlethird} | |
bind b:shift;cmd ${bottomleft} | |
bind y:shift;cmd ${topleft} | |
bind l:shift;cmd ${righthalf} | |
bind l:shift;alt;cmd ${rightthird} | |
bind .:shift;cmd ${bottomright} | |
bind p:shift;cmd ${topright} | |
# Resize - Resizes the window in the specified direction | |
# bind l:alt resize +1% +0 | |
# Nudge - Nudges the window in the specified direction | |
# bind l:shift;alt nudge +1% +0 | |
# Focus - Brings the focus to the window in the specified position | |
bind l:alt;shift focus right | |
bind h:alt;shift focus left | |
bind k:alt;shift focus up | |
bind j:alt;shift focus down | |
# Window Hints | |
bind esc:cmd hint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment