Skip to content

Instantly share code, notes, and snippets.

@ringular
Created July 28, 2022 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ringular/96cbe9fc69a8a587ab957fb07161dc63 to your computer and use it in GitHub Desktop.
Save ringular/96cbe9fc69a8a587ab957fb07161dc63 to your computer and use it in GitHub Desktop.
Slate Config
# 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:ctrl resize +5% +0
bind left:ctrl resize -5% +0
bind up:ctrl resize +0 -10%
bind down:ctrl 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
# Nudge Bindings
bind right:shift;ctrl nudge +5% +0
bind left:shift;ctrl nudge -5% +0
bind up:shift;ctrl nudge +0 -10%
bind down:shift;ctrl nudge +0 +10%
# Throw Bindings
bind ,:ctrl throw 0 resize
bind .:ctrl throw 1 resize
bind /:ctrl 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 - defaults
#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
# Focus Bindings - Ritesh
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;alt focus behind
bind down:ctrl;alt 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