- Install Hammerspoon
git clone https://github.com/znspace/hammerspoon.git ~/.hammerspoon
Key | |
---|---|
⇧ | Shift |
⌃ | Control |
⌥ | Option |
⌘ | Command |
- ⌃⌥⌘ + ← Left half
- ⌃⌥⌘ + → Right half
- ⌃⌥⌘ + ↑ Top half
- ⌃⌥⌘ + ↓ Bottom half
- ⌃⌥⌘ + F Full Screen
- ⌃⌥⌘ + M Maximize Window
- ⌃⌥⌘ + C Window Center
- ⌃⌥ + / Display a keyboard hint for switching focus to each window
- ⌃⌥ + ← Move cursor to next monitor
- ⌃⌥ + → Move cursor to previous monitor
- ^⌘ + J Move active window to previous monitor
- ^⌘ + K Move active window to next monitor
- ⌃⌥⌘ + L Lock Screen
- ⇧ + C
Visual Studio Code
- ⇧ + G
Google Chrome
- ⇧ + K
iTerm
- ⇧ + F
Finder
- ⇧ + M
Activity Monitor
- ⇧ + S
System Preferences