Bug 470701

Summary: [Feature request] Add "Ctrl+Y" as an alternate shortcut for "Redo" in Kate
Product: [Frameworks and Libraries] frameworks-kconfig Reporter: Olivier FAURE <couteaubleu>
Component: generalAssignee: Matthew Dawson <matthew>
Status: REPORTED ---    
Severity: wishlist CC: christoph, kdelibs-bugs, pehteimoso-kdebugs, rafael.barbosa.torres
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Olivier FAURE 2023-06-06 13:09:39 UTC
When editing text, you can undo a change you made with Ctrl+Z; you can then apply the change again (undoing the undo) with Ctrl+Shift+Z; this is standard stuff.

However, many users don't know the Ctrl+Shift+Z shortcut, and usually type "Ctrl+Y" to redo a change. It's the shortcut you see in the edit menu of Miscrosoft Word and LibreOffice Writer, for instance. That shortcut is also available in Firefox, Chrome, VsCode, Notepad++, etc.

(Though I think most editors support both shortcuts.)

Also, as far as I'm aware Ctrl+Y currently doesn't have a default assignation. As such, I think it would be worth assigning it as the alternate shortcut for the "Redo" command.
Comment 1 Christoph Cullmann 2023-06-29 17:21:24 UTC
*** Bug 468731 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Cullmann 2023-06-29 17:33:15 UTC
Would it make sense to add that to the standard shortcuts?
Comment 3 Olivier FAURE 2023-07-02 12:33:09 UTC
(In reply to Christoph Cullmann from comment #2)
> Would it make sense to add that to the standard shortcuts?

I think so, yes. "Ctrl-Y" is a shortcut a lot of people are used to.
Comment 4 Flaviano Matos 2023-07-04 12:52:29 UTC
That would be just copying Windows, which is not always a good idea. Ctrl+Shift+Z is more intuitive.
Comment 5 Flaviano Matos 2023-07-04 14:28:06 UTC
I should add that Ctrl+Shift+Z is the default shortcut to redo in LibreOffice, which, although not a KDE app, is what most distros ship as an office package.
Comment 6 Olivier FAURE 2023-07-04 15:25:13 UTC
There might have been a miscommunication.

I'm not asking for the Ctrl+Shift+Z shortcut to be removed. I'm asking for both shortcuts to be supported by default. This is also the current behavior in LibreOffice, for instance.