# Hammerspoon Configuration ## Usage 1. Install [Hammerspoon](http://www.hammerspoon.org/) 2. `git clone https://github.com/sugood/hammerspoon.git ~/.hammerspoon` 3. Detailed description `https://blog.csdn.net/sugoods/article/details/108984326` ## Modifier keys | | Key | | --------- | -------------- | | | Shift | | | Control | | | Option | | | Command | ## Reference code https://github.com/greyby/hammerspoon ## Language - en [English](README.md) - zh_CN [简体中文](README_zh-CN.md) ## Features ### Window Management #### Split Screen Actions * + Left half * + Right half * + Top half * + Bottom half #### Quarter Screen Actions * + Left top quarter * + Right bottom quarter * + Right top quarter * + Left bottom quarter #### Multiple Monitor ##### Move Cursor * + Move cursor to next monitor * + Move cursor to previous monitor ##### Move Windows * + Move active window to previous monitor * + Move active window to next monitor * + 1 Move active window to monitor 1 and maximize the window * + 2 Move active window to monitor 2 and maximize the window #### Other * + F Full Screen * + M Maximize Window * + C Window Center * + H Switch active window * + / Display a keyboard hint for switching focus to each window ### System Tools * + L Lock Screen ### Launch Application * + I `IntelliJ IDEA` * + T `Terminal` * + Z `Calculator` * + D `Finder` * + Q `Activity Monitor` * + S `System Preferences` * + C `Google Chrome` * + A `Launchpad` ### Snippet & Memorandum * + A Add a snippet or memos * + V List snippet or memos and use them