In PyCharm, using the Python console, I often press the up arrow to go through several previous commands. This is tedious if the commands are many lines long (for instance, the result of sending a long routine from a file to the console).
In IntelliJ, you can press Command + up to go to previous command without moving through all the lines of the current command. How can I do this in PyCharm?

