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/fgd-haha/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 |
⌥ | ~ |
Google Chrome |
⌥ | c |
DataGrip |
⌥ | d |
Finder |
⌥ | e |
IntelliJ IDEA |
⌥ | i |
Activity Monitor |
⌥ | j |
MindMaster |
⌥ | m |
PyCharm |
⌥ | p |
Visual Studio Code |
⌥ | v |
WeChat |
⌥ | w |
NeteaseMusic |
⌥ | y |
- Window Resize
Application Name | Chord | Activator |
---|---|---|
maximize |
⌥ shift | M |
smaller |
⌥ shift | - |
larger |
⌥ shift | = |
left half |
⌥ shift | ← |
right half |
⌥ shift | → |
up half |
⌥ shift | ↑ |
down half |
⌥ shift | ↓ |
fit screen height |
⌥ shift | H |
fit screen width |
⌥ shift | W |
- Window Movement
Application Name | Chord | Activator |
---|---|---|
move < |
⌥⌃ | ← |
move > |
⌥⌃ | → |
move ^ |
⌥⌃ | ↑ |
move v |
⌥⌃ | ↓ |
move to next screen |
⌥⌃ | N |
Feel free to submit an issue/feature request/pull request.