I've just moved from Eclipse to Android Studio and am finding really weird behaviour when I try to do Ctrl+Z / Ctrl+Y to undo/redo code changes.
It hard to describe what happens exactly, but the end result is that I usually end up just losing my code and having to type it back in from memory...
The 'undo' and 'redo' buttons in the IDE do seem to work fine, so maybe something is wrong with my shortcut keys (which would be surprising as I should just have a standard installation / setup).
Can anyone advise what to do, so Ctrl and Z / Ctrl+Y will work in the expected manner.
With the help of this answer, I have worked it out...
Settings
(Ctrl+Alt + S)Redo
in the search box.Redo
resultAdd Keyboard Shortcut
OK
OK