Disable exiting current cell when moving around with keyboard arrows

IGRACH
New Contributor III

Is there any way do disable exiting current cell when I move cursor around with arrows. When I press up arrow or down arrow it will exit the current cell and go to another cell. Can that functionally be disabled so when I hold up or down arrow key, cursor will go to the end (or beginning) of the cell and stay there.