Well, there is not really more to this. You can only undo “clear” and “paste” commands (by immediately repeating the key combo).