my personal hammerspoon config.
- download hammerspoon and make sure accessibility is enabled
- git clone https://github.com/lkzz/hammerspoon ~/.hammerspoon
- reload config
- window manage
- screen manage
- auto inputmethod change
- auto reload config
keybinds used in my config.
key | operation |
---|---|
alt_cmd_r | reload hammerspoon config |
key | operation |
---|---|
alt_cmd_h | move window left |
alt_cmd_l | move window right |
alt_cmd_j | move window download |
alt_cmd_k | move window up |
alt_cmd_c | move window center |
alt_cmd m | maxmize window |
alt_cmd ; | fullscreen window |
key | operation |
---|---|
alt_cmd_n | switch to next application |
alt_cmd_p | switch to previous application |
alt_tab | switch to next application |
alt_shift_tab | switch to previous application |
alt_cmd_w | |
alt_cmd_i | iTerm |
alt_cmd_g | Google Chrome |
key | operation |
---|---|
alt_cmd_[ | switch to left screen |
alt_cmd_] | switch to right screen |
alt_cmd_o | switch focus to last screen |
cmd_l | lock screen |