Spectacle Window Manager Keybindings For Hammerspoon
Hammerspoon-config is an easily configurable and extendible Hammerspoon package that implements all of the Spectacle keybindings.
-
Install Hammerspoon first.
-
git clone https://github.com/danshan/hammerspoon-config.git ~/.hammerspoon
-
Reload the configutation.
cd ~/.hammerspoon && git pull
Hammerspoon-config comes with a set of default keybindings. See installation for more on altering and disabling default keybindings.
- Application Launcher
Application Name | Chord | Activator |
---|---|---|
iTerm |
⌥ | ~ |
Quiver |
⌥ | , |
Mail |
⌥ | . |
Finder |
⌥ | / |
Preview |
⌥ | ; |
Google Chrome |
⌥ | 1 |
Safari |
⌥ | 2 |
龙信 |
⌥ | 3 |
WeChat |
⌥ | 4 |
WebStome |
⌥ | D |
Sublime Text |
⌥ | E |
Slack |
⌥ | N |
BearyChat |
⌥ | B |
Reminders |
⌥ | R |
IntelliJ IDEA |
⌥ | S |
Tweetbot |
⌥ | T |
KeyPassXC |
⌥ | K |
- Window Resize
Application Name | Chord | Activator |
---|---|---|
maximize |
⌥ ⌘ | M |
smaller |
⌥ ⌘ | - |
larger |
⌥ ⌘ | = |
left half |
⌥ ⌘ | ← |
right half |
⌥ ⌘ | → |
up half |
⌥ ⌘ | ↑ |
down half |
⌥ ⌘ | ↓ |
fit screen height |
⌥ ⌘ | H |
fit screen width |
⌥ ⌘ | W |
- Window Movement
Application Name | Chord | Activator |
---|---|---|
move < |
⌥⌃ | H |
move > |
⌥⌃ | L |
move ^ |
⌥⌃ | K |
move v |
⌥⌃ | J |
move to next screen |
⌥⌃ | N |
move to previous screen |
⌥⌃ | P |
Feel free to submit an issue/feature request/pull request.