Bug 561826

Summary: Use correct undo/redo keybinding for Emacs key preferences
Product: [Eclipse Project] Platform Reporter: Andrew Obuchowicz <aobuchow>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: loskutov
Version: 4.15   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 552208    
Attachments:
Description Flags
Emacs undo keybinding in Eclipse IDE
none
Emacs redo keybinding in Eclipse IDE none

Description Andrew Obuchowicz CLA 2020-04-06 10:57:47 EDT
As an Emacs user, it's bothered me since I started using Eclipse that the Emacs key bindings don't have the correct key binding for undo/redo.

By default, undo in Emacs is invoked with CTRL + /, see https://www.gnu.org/software/emacs/manual/html_node/emacs/Undo.html

A popular package for Emacs is undo-tree.el, which binds redo to CTRL + ?, see http://www.dr-qubit.org/undo-tree/undo-tree.el under Quick Start.

IMO, at the very least, a keybinding for the undo command in the Emacs keybindings should be CTRL + / as this is the default. Ideally, CTRL + ? should redo. 

I'm willing to submit a patch for this, as it gets tedious to re-input these keybindings when creating a fresh workspace. Also, this is important to ease the adoption of Eclipse from Emacs users.
Comment 1 Andrew Obuchowicz CLA 2020-04-06 10:59:10 EDT
I might have targeted the wrong component with this bug, if so, someone is free to retarget it to the correct component. 
Thanks.
Comment 2 Andrew Obuchowicz CLA 2020-04-06 11:48:45 EDT
Created attachment 282354 [details]
Emacs undo keybinding in Eclipse IDE
Comment 3 Andrew Obuchowicz CLA 2020-04-06 11:49:26 EDT
Created attachment 282355 [details]
Emacs redo keybinding in Eclipse IDE