/hammerspoon

Primary LanguageLuaMIT LicenseMIT

Hammerspoon Configuration

Usage

  1. Install Hammerspoon
  2. git clone https://github.com/greyby/hammerspoon.git ~/.hammerspoon

Modifier keys

Key
Shift
Control
Option
Command

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 CE
  • + C Google Chrome
  • + K iTerm
  • + D Finder
  • + Y Activity Monitor
  • + P System Preferences