ameliorate icon indicating copy to clipboard operation
ameliorate copied to clipboard

Hotkey for undo/redo

Open keyserj opened this issue 7 months ago • 3 comments

Describe your issue

It's nice that we've got undo/redo buttons in the Header:

Image

but if my hands are on the keyboard, I lose hundreds of milliseconds moving my hands to the mouse in order to click one of those options.

Solution you'd like

If there's something to undo, pressing Ctrl + Z should undo it. If there's something to redo, pressing Ctrl + Shift + Z should redo it.

Alternatives you've considered

No response

Additional context

No response

Technical ideas and questions

Should be very similar to setting the score for the selected node/edge, except:

keyserj avatar May 01 '25 17:05 keyserj

Can i please try this ! i cant seem to find the code were undo redo buttons are specified can you help me locate it

SakshamKaundal avatar May 16 '25 05:05 SakshamKaundal

@SakshamKaundal I see you made #732 for this and found the file for the undo/redo buttons, nice. Can continue the discussion on that PR

keyserj avatar May 16 '25 14:05 keyserj

@SakshamKaundal it's been a while so I'm going to unassign you, let me know if I should reassign you!

keyserj avatar Sep 22 '25 04:09 keyserj