From 37332280e6d5ba7f913b574c64d8bb699c225d83 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Mon, 18 Mar 2013 02:11:08 -0400 Subject: manage slate config --- deploy.sh | 2 +- slate | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 slate diff --git a/deploy.sh b/deploy.sh index f26d69e..b66b0d6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -6,7 +6,7 @@ rm -rf dotfiles-backup mkdir -p dotfiles-backup # deploy -for f in vimrc gvimrc gitconfig gitignore zshrc zsh vim dircolors.conf +for f in vimrc gvimrc gitconfig gitignore zshrc zsh vim dircolors.conf slate do if [ -e ~/.${f} ]; then mv ~/.${f} dotfiles-backup/${f} diff --git a/slate b/slate new file mode 100644 index 0000000..356684f --- /dev/null +++ b/slate @@ -0,0 +1,25 @@ +config defaultToCurrentScreen true +config nudgePercentOf screenSize +config resizePercentOf screenSize + +bind r:alt relaunch + +# corners +bind pad1:alt corner bottom-left resize:screenSizeX/2;screenSizeY/2 +bind pad7:alt corner top-left resize:screenSizeX/2;screenSizeY/2 +bind pad9:alt corner top-right resize:screenSizeX/2;screenSizeY/2 +bind pad3:alt corner bottom-right resize:screenSizeX/2;screenSizeY/2 + +# sides +bind pad4:alt push left bar-resize:screenSizeX/2 +bind left:alt push left bar-resize:screenSizeX/2 +bind pad6:alt push right bar-resize:screenSizeX/2 +bind right:alt push right bar-resize:screenSizeX/2 + +# fullscreen +bind pad5:alt move 0;0 screenSizeX;screenSizeY +bind 0:alt move 0;0 screenSizeX;screenSizeY + +# center +bind pad2:alt move (screenSizeX/2)-((screenSizeX*2)/6);0 (screenSizeX*2)/3;screenSizeY +bind down:alt move (screenSizeX/2)-((screenSizeX*2)/6);0 (screenSizeX*2)/3;screenSizeY -- cgit v1.2.3