edit a new file
e [filename] ee [filename]
This command deletes the contents of the current buffer (without placing the lines in the delete buffer) and reads in the lines associated with the specified file. Since the contents of the delete buffer are not affected, you can use it to move lines from one file to another. To do this, perform a Delete (d), Edit (ee) a new file, and then undelete the lines into the new file with the Append command (ad variant).
The e and ee commands read from the currently defined filename, or if a filename is specified they read from the indicated filename and makes that the current filename. The e form of the command will refuse to destroy a non-empty buffer which has been modified, while the ee form will act regardless of whether or not the current buffer has been saved.
The current filename can be queried or changed by the File (f) command.
The Edit command must be the last command on a line.
The Edit command cannot be used inside a Global (g) or Until (u) command.
Set to the first line of the buffer.
Not affected.