Marking Gestures

@rebind / marking-gesturesv0.1.5Public

Hold a key, move in one of four directions and release to invoke a shortcut.

Files

Older release. Installs get 0.1.5.

README.md1.9 KB

# Marking Gestures

Hold a key, move the mouse in one direction, and release to use a shortcut. Small or unclear movements do nothing.

Requires Rebind Link on Windows or macOS, with the mouse and control keyboard forwarded through [hardware mode](https://docs.rebind.gg/concepts/platforms). Run only one mouse-movement script at a time. Live hardware use remains unverified.

## Controls

| Key | Action |
|---|---|
| Hold F6 | Start a gesture; its movement does not move the pointer |
| Release F6 | Perform the chosen shortcut |
| Escape | Cancel the gesture |
| 1 / 2 / 3 while holding F6 | Choose Editing / Browsing / Media for this gesture |

| Direction | Editing | Browsing | Media |
|---|---|---|---|
| Left | Undo | Back | Previous track |
| Right | Redo | Forward | Next track |
| Up | Copy | Previous tab | Volume up |
| Down | Paste | Next tab | Volume down |

## Settings and limits

- **Initial bank** chooses the shortcut group for each new gesture. Number keys change only the current gesture.
- **Minimum stroke** controls how far you must move. **Required axis dominance** controls how clearly horizontal or vertical the movement must be. Higher values reject more diagonal gestures. Your mouse's sensitivity affects the hand movement needed.
- You can change control keys, then restart. Choose distinct letters, digits, F1 to F12, Space, Escape, CapsLock, or Menu.
- Moving back to the starting point cancels. Holding a mouse button, Ctrl, Alt, Shift, or Cmd/Win prevents or cancels a gesture. Cancellation never replays the hidden movement.
- A detected app or window-title change cancels the gesture, but detection is not immediate. Stopping the script or invalid settings also cancels it.
- Apps must support the shortcuts: Undo/Redo use Ctrl+Z/Y on Windows and Cmd+Z/Cmd+Shift+Z on macOS; Back/Forward use Alt+Left/Right or Cmd+[/]. Tabs use Ctrl+Shift+Tab/Ctrl+Tab. Media actions use media keys.

3 files, 8.1 KB.