marketplace/mouse

Mouse App Shortcuts

Side buttons mean back and forward in browsers, undo and redo in editors, previous and next sheet in spreadsheets.

@rebindv0.1.0free

More install options
$rebind install @rebind/mouse-app-shortcuts

Gallery

Mouse App Shortcuts preview

Readme

The two side buttons change meaning with the focused app. Everywhere else they stay ordinary side buttons.

Focused appMouse4Mouse5
BrowserBackForward
EditorUndoRedo
SpreadsheetPrevious sheetNext sheet

Setup

Each class is a comma separated list of process names. A window matches when its process name contains one of the entries, case insensitive. On Windows that is the executable name (chrome.exe matches chrome); on macOS it is the application name (Google Chrome matches chrome). Edit the lists any time; changes apply on the next click.

Turn on Swap the two side buttons if your mouse reports them the other way round.

Chords sent

  • Windows: Alt+Left and Alt+Right, Ctrl+Z and Ctrl+Y, Ctrl+PageUp and Ctrl+PageDown.
  • macOS: Cmd+[ and Cmd+], Cmd+Z and Cmd+Shift+Z, Option+Left and Option+Right.

Limits

  • Both side buttons are captured system wide while the script runs. In unlisted apps the press is passed straight through, but it does pass through the Rebind Engine first.
  • Apps that bind the side buttons themselves will see the chord instead of the button.

Reviews

No reviews yet. Write a review in the app.

Source

Version 0.1.0 (current)

README.md

# Mouse App Shortcuts

The two side buttons change meaning with the focused app. Everywhere else they stay ordinary side buttons.

| Focused app | Mouse4 | Mouse5 |
|---|---|---|
| Browser | Back | Forward |
| Editor | Undo | Redo |
| Spreadsheet | Previous sheet | Next sheet |

## Setup

Each class is a comma separated list of process names. A window matches when its process name contains one of the entries, case insensitive. On Windows that is the executable name (`chrome.exe` matches `chrome`); on macOS it is the application name (`Google Chrome` matches `chrome`). Edit the lists any time; changes apply on the next click.

Turn on **Swap the two side buttons** if your mouse reports them the other way round.

## Chords sent

- Windows: Alt+Left and Alt+Right, Ctrl+Z and Ctrl+Y, Ctrl+PageUp and Ctrl+PageDown.
- macOS: Cmd+[ and Cmd+], Cmd+Z and Cmd+Shift+Z, Option+Left and Option+Right.

## Limits

- Both side buttons are captured system wide while the script runs. In unlisted apps the press is passed straight through, but it does pass through the Rebind Engine first.
- Apps that bind the side buttons themselves will see the chord instead of the button.