Deleting Lines (F3 key)

Your file now has a few blank lines which you may wish to delete. F3 is the line delete key and will delete the current line. Move the cursor to the start of a blank line and press F3. Continue deleting the blank lines in this manner. Now move to a line containing text and press F3. If you wish very hard and then press CtrlF2 your line will reappear.

The editor stores deleted lines in a delete buffer. The CtrlF1 will append the last deleted single line after the current line and the CtrlF2 will insert the line before the current line. In this case, we inserted the deleted line because the current cursor line moved down one line when the F3 key was used.

If you delete 5 lines you can restore them one by one using CtrlF1 or F2. They can be deleted in one text area and "undeleted" into another area. In most cases, this can be used as a method of moving lines of text; however, a simpler method of moving blocks of lines using the F7 and F8 keys will be explained later.