Awesome code snippets for the Hammerspoon Desktop Automation Utility
Download the Alfred Workflow, and use the keyword hs
to search the Hammerspoon online Docs.
- Set up lua-ls in the IDE of your choice.
- Install the EmmyLua Spoon and follow the instructions.
- Restart your IDE, you should now have completions and hover documentation for Hammerspoon.
The Hammerspoon wiki also has several example configs.