mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-07 10:16:03 -10:00
The keymap had no notion of mouse buttons, so the back / forward side buttons did nothing anywhere in the window. Keymaps can now hold mouse shortcuts (`Button4`, `Shift+Button5`, buttons numbered 1-based as DOM `button` + 1). Every preset binds Button4 to Navigate Back and Button5 to Navigate Forward. The global dispatcher runs them on mousedown from any component, keeps side-button press / release / auxclick away from the target (no editor selection or focus change) and cancels the webview's own history navigation. Menus and tooltips keep showing the first keyboard binding; the keymap list shows "Button4 Click". Fixes #75 Claude-Session: https://claude.ai/code/session_01VUYsdXA2nkF5v6zsC93dpn