Created
December 17, 2012 19:19
-
-
Save nbfritz/4321107 to your computer and use it in GitHub Desktop.
My configuration for 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
| # settings {{{ | |
| config defaultToCurrentScreen true | |
| config nudgePercentOf screenSize | |
| config resizePercentOf screenSize | |
| alias gridSize 8,8 | |
| alias c (screenSizeX/8) | |
| alias r (screenSizeY/8) | |
| #}}} | |
| # default grid {{{ | |
| # C = 1/8 width; R = 1/8 height | |
| # | |
| # MONITOR 0 MONITOR 1 | |
| # ------------------- ------------- | |
| # | 0sT | 0LT | 0RT | 3xR | 1LT | 1RT | 4xR | |
| # | 0sM | --- | --- | | --- | --- | | |
| # | 0sB | 0LB | 0RB | 5xR | 1LB | 1RB | 4xR | |
| # ------------------- ------------- | |
| # 1xC 4xC 3xC 5xC 3xC | |
| # 0s... is the leftmost strip for chat | |
| # 0LF = 0LT + 0LB; 0RF = 0RT + 0RB | |
| # 1LF = 1LT + 1LB; 1RF = 1RT + 1RB | |
| # grid sizes | |
| alias 0sT-w ${c}*1 | |
| alias 0sT-h ${r}*4 | |
| alias 0sM-w ${c}*1 | |
| alias 0sM-h ${r}*2 | |
| alias 0sB-w ${c}*1 | |
| alias 0sB-h ${r}*2 | |
| alias 0LT-w ${c}*4 | |
| alias 0LT-h ${r}*3 | |
| alias 0LB-w ${c}*4 | |
| alias 0LB-h ${r}*5 | |
| alias 0LF-w ${c}*4 | |
| alias 0LF-h ${r}*8 | |
| alias 0RT-w ${c}*3 | |
| alias 0RT-h ${r}*3 | |
| alias 0RB-w ${c}*3 | |
| alias 0RB-h ${r}*5 | |
| alias 0RF-w ${c}*3 | |
| alias 0RF-h ${r}*8 | |
| alias 0FF-w ${c}*7 | |
| alias 0FF-h ${r}*8 | |
| alias 1LT-w ${c}*5 | |
| alias 1LT-h ${r}*4 | |
| alias 1LB-w ${c}*5 | |
| alias 1LB-h ${r}*4 | |
| alias 1LF-w ${c}*5 | |
| alias 1LF-h ${r}*8 | |
| alias 1RT-w ${c}*3 | |
| alias 1RT-h ${r}*4 | |
| alias 1RB-w ${c}*3 | |
| alias 1RB-h ${r}*4 | |
| alias 1RF-w ${c}*3 | |
| alias 1RF-h ${r}*8 | |
| alias 1FF-w ${c}*8 | |
| alias 1FF-h ${r}*8 | |
| }}} | |
| # calculations -- DO NOT TOUCH {{{ | |
| alias 0sT-p screenOriginX;screenOriginY | |
| alias 0sM-p screenOriginX;screenOriginY+${0sT-h} | |
| alias 0sB-p screenOriginX;screenOriginY+${0sT-h}+${0sM-h} | |
| alias 0LT-p screenOriginX+${0sT-w};screenOriginY | |
| alias 0LB-p screenOriginX+${0sT-w};screenOriginY+${0LT-h} | |
| alias 0LF-p screenOriginX+${0sT-w};screenOriginY | |
| alias 0RT-p screenOriginX+${0sT-w}+${0LT-w};screenOriginY | |
| alias 0RB-p screenOriginX+${0sT-w}+${0LT-w};screenOriginY+${0RT-h} | |
| alias 0RF-p screenOriginX+${0sT-w}+${0LT-w};screenOriginY | |
| alias 0FF-p screenOriginX+${0sT-w};screenOriginY | |
| alias 1LT-p screenOriginX;screenOriginY | |
| alias 1LB-p screenOriginX;screenOriginY+${0LT-h} | |
| alias 1LF-p screenOriginX;screenOriginY | |
| alias 1RT-p screenOriginX+${1LT-w};screenOriginY | |
| alias 1RB-p screenOriginX+${1LT-w};screenOriginY+${1RT-h} | |
| alias 1RF-p screenOriginX+${1LT-w};screenOriginY | |
| alias 1FF-p screenOriginX;screenOriginY | |
| alias 0sT move ${0sT-p} ${0sT-w};${0sT-h} 0 | |
| alias 0sM move ${0sM-p} ${0sM-w};${0sM-h} 0 | |
| alias 0sB move ${0sB-p} ${0sB-w};${0sB-h} 0 | |
| alias 0LT move ${0LT-p} ${0LT-w};${0LT-h} 0 | |
| alias 0LB move ${0LB-p} ${0LB-w};${0LB-h} 0 | |
| alias 0LF move ${0LF-p} ${0LF-w};${0LF-h} 0 | |
| alias 0RT move ${0RT-p} ${0RT-w};${0RT-h} 0 | |
| alias 0RB move ${0RB-p} ${0RB-w};${0RB-h} 0 | |
| alias 0RF move ${0RF-p} ${0RF-w};${0RF-h} 0 | |
| alias 0FF move ${0FF-p} ${0FF-w};${0FF-h} 0 | |
| alias 1LT move ${1LT-p} ${1LT-w};${1LT-h} 1 | |
| alias 1LB move ${1LB-p} ${1LB-w};${1LB-h} 1 | |
| alias 1LF move ${1LF-p} ${1LF-w};${1LF-h} 1 | |
| alias 1RT move ${1RT-p} ${1RT-w};${1RT-h} 1 | |
| alias 1RB move ${1RB-p} ${1RB-w};${1RB-h} 1 | |
| alias 1RF move ${1RF-p} ${1RF-w};${1RF-h} 1 | |
| alias 1FF move ${1FF-p} ${1FF-w};${1FF-h} 0 | |
| #}}} | |
| # layouts {{{ | |
| layout default 'DBeaver' ${0FF} | |
| layout default 'Eclipse' ${0FF} | |
| layout default 'MacVim' ${0LF} | |
| layout default 'Terminal' ${0RF} | |
| layout default 'Console' ${1RF} | |
| layout default 'Microsoft Outlook' ${1LF} | |
| layout default 'Google Chrome' ${1LF} | |
| layout chat 'Adium' ${0sT} | ${0sM} | ${0sB} | |
| layout tutorial 'MacVim' ${0RB} | |
| layout tutorial 'Terminal' ${0RT} | |
| layout tutorial 'Google Chrome' ${0LF} | |
| layout tutorial 'Microsoft Outlook' ${1LF} | |
| #}}} | |
| # keybindings {{{ | |
| bind space:alt hint QWERTASDFGHZXCVB | |
| bind space:ctrl;alt;cmd layout default | |
| bind space:cmd;ctrl grid 2560x1440:${gridSize} 1920x1080:${gridSize} | |
| bind 1:ctrl;alt;cmd layout default | |
| bind 2:ctrl;alt;cmd layout tutorial | |
| bind 0:ctrl;alt;cmd layout chat | |
| bind h:ctrl;cmd focus left | |
| bind j:ctrl;cmd focus down | |
| bind k:ctrl;cmd focus up | |
| bind l:ctrl;cmd focus right | |
| #}}} | |
| # vi: fdm=marker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment