How to move cursor up/down without expanding code blocks?

Things I have tried

What I’m trying to do

I want to use up/down arrows to move cursor without expanding code blocks in Live Preview.