Search code examples
eclipsekeyboard-shortcutse4

Undo shortcut not working in Eclipse


The last couple of days the Ctrl+Z shortcut (Undo) scrolls down a line (a-la emacs). I tried to switch schemes back and forth, change and redefine the Undo in Default scheme, nothing seems to work. Other combinations (Alt+Ctrl+Z) work fine, other workspaces work fine with Ctrl+Z.

Any tip that will save me from redefining the workspace?


Solution

  • The key bindings are stored in the file [workspace]\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi.

    You can search for Ctrl+Z in this file. What does it look like? You could try to edit it by hand.

    Of course, it is advisable to backup the workspace before.