If I reach left-most end of a line and press left-arrow it doesn't take me to the previous line.
Similarly, if I keep pressing right arrow, the cursor keeps going towards infinity, without ever moving to the next line.
How do I change this behavior to desired one?