The figure below shows the commands that can be used to delete text in a file with the "vi" editor. These commands must be entered when you are in command mode.