Skip to content

Commit

Permalink
Update slate configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
am committed Apr 5, 2013
1 parent bf3cc2c commit 4bc42a5
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 3 deletions.
55 changes: 55 additions & 0 deletions .slate
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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 right:shift;ctrl;cmd push right bar-resize:screenSizeX/3
bind left:shift;ctrl;cmd push left bar-resize:screenSizeX/3
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;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
# conflict with go to parent folder action
# bind up:cmd focus up
# bind down:cmd focus down
# conflict with iterm2
# bind up:cmd;alt focus behind
# bind down:cmd;alt focus behind

# Window Hints
bind esc:cmd hint

# grid
bind esc:ctrl grid padding:5 1920x1080:6,4 1680x1050:7,4
4 changes: 2 additions & 2 deletions .slate.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var oneMonitorLayout = S.lay("oneMonitor", {
});

// Defaults
S.def([monWorkL, monWorkL], twoMonitorLayout);
S.def([monWorkL, monWorkR], twoMonitorLayout);
S.def([monHome], oneMonitorLayout);

// Layout Operations
Expand Down Expand Up @@ -219,4 +219,4 @@ S.src(".slate.test", true);
S.src(".slate.test.js", true);

// Log that we're done configuring
S.log("[SLATE] -------------- Finished Loading Config --------------");
S.log("[SLATE] -------------- Finished Loading Config --------------");
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
dotfiles
========

Basic dotfiles setup for boxen. The files are linked using boxen configuration files.
Basic dotfiles setup for boxen. The files are linked using boxen configuration files.

It currently

The bin folder contains bin/bash utilities. The credits to the original authors go inside each file.

0 comments on commit 4bc42a5

Please sign in to comment.