my configuration of hammerspoon
- install Hammerspoon http://www.hammerspoon.org/
- clone this repo to your mac:
git clone git@github.com:zelig81/hammerspoon-init.git
- create a symbolic link of .hammerspoon folder to your home folder:
ln -s -f <folder_of_code>/hammerspoon-init/.hammerspoon ~/.hammerspoon
- press 'reload config' in Hammerspoon
for hotkeys bindings see in key-binding.lua meta keys binding see in init.lua
- switching applications using specific hotkey for each application (meta key +
<letter of application>
) - windows management (half window, maximized window, moving window between displays)
- switching language layouts (meta key + id number of language layout)
- reload hammerspoon config (meta key + 'h')
- if you prefer to change something / add something - see hammerspoon reference