Added shortcuts to move to begin and end of text in editor.