Hacker News new | ask | show | jobs
by eridius 3454 days ago
I'm a big user of Alfred, and I installed Hammerspoon a while back, but I have yet to actually do a single thing with Hammerspoon. I'm curious if you can provide any examples of what you use Hammerspoon for.
1 comments

I use it to setup dev environments' windows. For example, a hotkey that launches the following configuration automatically in about 14 seconds (this is my primary coding setup).

1. 3 terminals and 1 Finder each in a quadrant on Space 1

2. Two Chrome windows, full-screened and placed into split-view next to each other (split view is when you hold down the minimize button for a bit to put two full-screen apps next to each other)

3. Sublime Text 3, full-screened.

4. Dash (doc app) full-screened and placed split-view with another full-screened Chrome window.

Basically automates the windows I would setup manually every time I reboot and want to code.

Over in Windows land, I used AutoHotkey for years for all sorts of things, so Hammerspoon is comfortable for me.