Editing a file consists of adding, moving and deleting text from it. When you type characters in Emacs, they insert themselves before the current position of the cursor. Typing the RETURN key causes a newline.