Move with arrow keys after you edit. press 0 if you want to edit and press 1, 2, 3, 4. press 1 several times or 2 or 3 or 4. thanks to reevo_56 for the code for part 4 because I had to start over.
credit to @reevo_56 and @griffpatch going to start part 6