Skip to content

Instantly share code, notes, and snippets.

@mauriciogardini
Last active December 13, 2015 20:48
Show Gist options
  • Save mauriciogardini/4972670 to your computer and use it in GitHub Desktop.
Save mauriciogardini/4972670 to your computer and use it in GitHub Desktop.
Slate dotfile - Bind section
# Bind's directives: bind key:modifiers operation parameter+
bind key:modal-key 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:shift;ctrl focus right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment