...
To save after modification, exit with the above command and enter "y" when prompted.
To cancel any modification, exit with the above command and enter "n" when prompted.
If creating a new file, upon running the above command you will also be prompted for a file name. Enter the desired file name to create the file.
To cut a single line: CTRL+k
...