Last active
December 24, 2015 01:59
-
-
Save orendon/6728037 to your computer and use it in GitHub Desktop.
slate basic config ~/.slate
https://github.com/jigish/slate
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
# My basic ~/.slate file. | |
# It has some tweaks so it doesn't fuck with my IDE | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Resize Bindings -> resize | |
bind right:alt;ctrl resize +5% +0 | |
bind left:alt;ctrl resize -5% +0 | |
bind up:alt;ctrl resize +0 -10% | |
bind down:alt;ctrl resize +0 +10% | |
# Push Bindings -> split horizontal/vertical | |
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 | |
# Nudge Bindings -> Move window | |
bind right:shift;alt;ctrl nudge +10% +0 | |
bind left:shift;alt;ctrl nudge -10% +0 | |
bind up:shift;alt;ctrl nudge +0 -10% | |
bind down:shift;alt;ctrl nudge +0 +10% | |
# Throw Bindings -> restore original size | |
bind 1:ctrl;alt throw 0 resize | |
bind 2:ctrl;alt throw 1 resize | |
bind down:ctrl;alt;cmd throw down resize | |
# Focus Bindings | |
bind up:cmd;shift focus behind | |
bind down:cmd;shift focus behind | |
# Window Hints | |
bind esc:cmd hint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment