The current line will be that where the cursor is positioned. When you start vi you will see a screen similar to the one below. This is a small file called 'vi.prac'. A typical vi screen Note that is necessary to press return at the end of each line of text that you enter. Edit an existing file that you have, making several changes.
Input is read and echoed at the bottom of the screen.
The following are examples of some compound commands, using the operators listed later. The following are all last line mode commands, so must be preceded by a colon. The following can be doubled to apply to a line and also preceded by a number to indicate a number of lines. U restore current line .