move-cursor-improved

Improve and correct Atom's cursor movement