To move across history: Hold L or R while pressing up or down button. Button A acts as an [Enter] key.
You can also try a SymPy documentation