Fix bug where up arrow onto first line where first character is atomic causes you to skip line and go to end of previous. Demo of bug here (using Firepad): http://demo.firepad.io/#vu2Scx2RUH