Page 1 of 1

Assign Mouse Buttons to hotkeys?

Posted: 27.09.2024 15:12
by sl23
Hi,
Is this possible?
If not, is it something you would consider adding some time?
I would really find it useful to use my mouse back and forward buttons for Undo/Redo.
Thanks ;)

Re: Assign Mouse Buttons to hotkeys?

Posted: 27.09.2024 18:38
by main Alexey
this is not something I plan.
but extra mouse buttons are available as 'keys' already:
1.160.0 (2022/04)

+ add: mouse buttons Extra1/Extra2 are supported in the hotkey input dialog; note that you must press buttons while mouse pointer is over editor control; these mouse buttons work as equavalent to keyboard buttons BrowserBack/BrowserForward
Im not sure: extra1/extra2 buttons are same as backward/forward?

Re: Assign Mouse Buttons to hotkeys?

Posted: 27.09.2024 22:35
by sl23
Ok, thanks.
I tried it and the mouse button is recognised, but I can't find the Undo/Redo hotkey settings.
Where are they located?

Re: Assign Mouse Buttons to hotkeys?

Posted: 28.09.2024 05:57
by main Alexey
In the command-palette. Items:

perform undo
perform redo

Re: Assign Mouse Buttons to hotkeys?

Posted: 28.09.2024 12:01
by sl23
Ok I found that, but I have no idea how I am supposed to implement it!
Could you elaborate please.
Thanks.

Re: Assign Mouse Buttons to hotkeys?

Posted: 29.09.2024 06:16
by main Alexey
- call Cmd Palette dlg
- type 'undo' and focus undo-item
- press F9 in the Cmd Plt - this will open dlg to assign hotkey for 'undo'
- press mouse extra1/2 btn to enter hotkey - it must assign BrowserBack/BrowserFwd key for 'undo'

does it help?

Re: Assign Mouse Buttons to hotkeys?

Posted: 29.09.2024 09:33
by sl23
WoW! This is one amazing app and you are a genius! Thank you :D