: # hammerspoon-config
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 |
⌥ | ~ |
Notion |
⌥ | , |
Postman |
⌥ | . |
Finder |
⌥ | / |
Preview |
⌥ | ; |
Microsoft Edge |
⌥ | 1 |
Safari |
⌥ | 2 |
Feishu / Lark |
⌥ | 3 |
WeChat |
⌥ | 4 |
iStatistica Pro |
⌥ | A |
WebStome |
⌥ | D |
Sublime Text |
⌥ | E |
Telegram |
⌥ | N |
Reminders |
⌥ | R |
IntelliJ IDEA |
⌥ | S |
Tweetbot |
⌥ | T |
Visual Studio |
⌥ | V |
Strongbox |
⌥ | W |
- Relead hammerspoon config
Action | Chord | Activator |
---|---|---|
Reload config | ⌥ | B |
- Window Resize
Action | Chord | Activator |
---|---|---|
maximize |
⌥ ⌘ | M |
smaller |
⌥ ⌘ | - |
larger |
⌥ ⌘ | = |
left half |
⌥ ⌘ | ← |
right half |
⌥ ⌘ | → |
up half |
⌥ ⌘ | ↑ |
down half |
⌥ ⌘ | ↓ |
- Window Movement
Application Name | Chord | Activator |
---|---|---|
move to the left screen |
⌥⌃ | H |
move to the right screen |
⌥⌃ | L |
move to the up screen |
⌥⌃ | K |
move to the down screen |
⌥⌃ | J |
Feel free to submit an issue/feature request/pull request.