Hammerspoon is a utility for mac that turns Lua code into UI behaviour, the same way Karabiner turns XML code into keys remapping.
It will be my tool of choice for interacting with the UI: focusing, moving and resizing windows around.
A couple of references:
Good article about using mjolnir: Using Mjolnir: An Extensible OSX Window Manager
Old article about slate: Using Slate: A Hacker’s Window Manager for Macs
Superb documentation and getting started of Hammerspoon: Getting Started with Hammerspoon This writeup has made it super easy to get my hands on Happerspoon. I wish more documentation was like that.
The last step of my remapping story will be to write the application-focusing hotkeys (the binding with Karabiner is done, so I can have a Karabiner hotkey invoking a Hammerspoon action).
And then I will be done. (Apart from learning emacs, and writing DIAL, but that’s another story)