A solid backbone for your .slate.js.
- Concise configuration.
- Extensibility - it wraps the Screen, Window, and Rect objects into proxy classes. You can extend these classes pretty easily using JavaScript prototypes.
- Many convenience methods:
- Reslate will take most object types in a binding and make sense of them.
- Nested object syntax for binding hotkeys (reduces need for repetition - see
slate.bindAllinslate.example.js). - Array syntax will do a
slate.chainfor you. - Strings automatically map to slate's "operation" objects.
- Works around some issues in Slate:
- It's harder to lose a window offscreen.
- Some useless popups are silenced.
- When you hit an exception, you're provided with a full traceback if possible (see them in Console.app). You can also use $.backtrace to generate one yourself.
- The $ object ( https://github.com/lunixbochs/reslate/blob/master/reslate.js#L36 )
You should compare the reslate example config with Slate's example JS config.
-
Do you have Slate? Get Slate.
-
git clone https://github.com/lunixbochs/reslate.gitsomewhere convenient. -
ln -s "$(pwd)"/reslate.js ~/.reslate.js(Run this in Terminal / bash inside the repo). -
S.src('.reslate.js');from.slate.jsto use this if you're a Slate veteran.If you're new to Slate, copy my
slate.example.jsto~/.slate.jsinstead. -
Either way, look at
slate.example.jsfor a full configuration. -
Reslate has a high ratio of comments to code. Dive into
reslate.jsand hack away.
Your desktop has never looked better.
You should probably set up a Hyper key if you plan on using Slate and your computer at the same time.
Using PCKeyboardHack and KeyRemap4Macbook to create a Hyper key.
I recommend modifying your private.xml to only map Hyper to ctrl+alt+cmd (and not shift).
This allows you to bind both hyper and hyper+shift as modifiers.
