Ask coding questions

← Back to all posts
How do you move to a new line when your cursor is in the middle of a line without moving the text?
EricRoss3 (0)

I.E. Like pressing Enter to move down a line, but without moving everything after the cursor. I could always hit Insert to move to the end of the current line and then Enter to move down or use the Down Arrow then Enter, but with my keyboard layout, it's a bit unintuitive. Are there any other shortcuts? Any and all help is appreciated.

Coder100 (18901)

You could try curses if you are using python/C/C++
otherwise, you could refer to this:

FloCal35 (671)

Ctrl + shift + Q (twice)
down arrow is the best route

EricRoss3 (0)

@FloCal35 Unfortunately, Ctrl + Shift + Q didn't seem to do anything.