Refactor moveToEOLAndInsertLFAction