You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-20Lines changed: 45 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Install Hammerspoon if you haven't yet. Download the [latest release here](https
12
12
13
13
Alternatively you can install it using brew:
14
14
```bash
15
-
brew install --cask hammerspoon
15
+
brew install --cask hammerspoon
16
16
```
17
17
18
18
#### Step 2
@@ -46,6 +46,13 @@ Go to `System Preferences > Security & Privacy > Accessibility` and make sure Ha
46
46
47
47
_If you just enabled permissions for Hammerspoon, you might need to restart the application for the permissions to take effect._
48
48
49
+
#### Step 5 (optional)
50
+
51
+
Configure the Shiftit spoon to your preference.
52
+
53
+
-[Multiple window cycle sizes](https://github.com/peterklijn/hammerspoon-shiftit#configure-multiple-window-cycle-sizes) allows you to override the default 50% window size for snapping to [sides](https://github.com/peterklijn/hammerspoon-shiftit#snap-to-sides) and [corners](https://github.com/peterklijn/hammerspoon-shiftit#snap-to-corners)
54
+
-[Override key mappings](https://github.com/peterklijn/hammerspoon-shiftit#overriding-key-mappings) allows you to override the default key bindings.
55
+
49
56
The ShiftIt spoon is now ready to use, enjoy.
50
57
51
58
Having issues? Check out the [Known issues](https://github.com/peterklijn/hammerspoon-shiftit#known-issues) section, have a look in the [issues section](https://github.com/peterklijn/hammerspoon-shiftit/issues), or create a new issue.
@@ -112,34 +119,52 @@ The default key mapping looks like this:
The first argument (`{ 50, 33, 67 }`) sets the horizontal window cycle sizes, in the provided order.
150
+
The second argument (`{ 50 }`) sets the vertical window cycle sizes, in this example it only sets one.
151
+
152
+
The above settings will toggle the window through these steps, when repeatingly hitting `ctrl(^) + alt(⌥) + cmd(⌘) + left`:
153
+
154
+

155
+
134
156
### Overriding key mappings
135
157
136
158
You can pass the part of the key mappings that you want to override to the `bindHotkeys()` function. For example:
0 commit comments