Created
July 10, 2013 22:51
-
-
Save jeremyolliver/5970905 to your computer and use it in GitHub Desktop.
Slate config file
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 nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Resize Bindings | |
# bind right:alt resize +10% +0 | |
# bind left:alt resize -10% +0 | |
# bind up:alt resize +0 -10% | |
# bind down:alt resize +0 +10% | |
# bind right:ctrl;alt resize -10% +0 bottom-right | |
# bind left:ctrl;alt resize +10% +0 bottom-right | |
# bind up:ctrl;alt resize +0 +10% bottom-right | |
# bind down:ctrl;alt resize +0 -10% bottom-right | |
# Push Bindings | |
bind right:ctrl;cmd push right bar-resize:screenSizeX/2 | |
bind left:ctrl;cmd push left bar-resize:screenSizeX/2 | |
bind up:ctrl;cmd push up bar-resize:screenSizeY/2 | |
bind down:ctrl;cmd push down bar-resize:screenSizeY/2 | |
# Maximize binding | |
bind m:ctrl;cmd throw 1 resize | |
# Nudge Bindings | |
# bind right:shift;alt nudge +10% +0 | |
# bind left:shift;alt nudge -10% +0 | |
# bind up:shift;alt nudge +0 -10% | |
# bind down:shift;alt nudge +0 +10% | |
# Throw Bindings | |
bind 1:ctrl;alt throw 0 resize | |
bind 2:ctrl;alt throw 1 resize | |
bind 3:ctrl;alt throw 2 resize | |
bind right:ctrl;alt;cmd throw right resize | |
bind left:ctrl;alt;cmd throw left resize | |
bind up:ctrl;alt;cmd throw up resize | |
bind down:ctrl;alt;cmd throw down resize | |
# 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 | |
bind right:ctrl;alt focus right | |
bind left:ctrl;alt focus left | |
bind up:ctrl;alt focus up | |
bind down:ctrl;alt focus down | |
bind up:ctrl;shift;alt focus behind | |
bind down:ctrl;shift;alt focus behind | |
# Window Hints | |
bind esc:cmd hint |
Most commonly used in this config:
m:ctrl;cmd
Maximize focussed window to main screen. Useful when plugging in an external monitor and easily throwing the window in focus up to the external monitor.
right:ctrl;cmd
& left:ctrl;cmd
Move window to fill half of the left or right of the window for a vertical "split"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Altered from the default slate configs at https://github.com/jigish/slate/blob/master/Slate/default.slate
Main changes are commenting out things I don't use like 'nudging' window sizes, and changing the values for some push binding and the keys used to trigger some commands.