vi editing  «Prev 

Configuration options for vi

1) Start by opening the quartet file in vi.
Start by opening the quartet file in vi.

2) Enter the set command to list options that have changed from their defaults
Enter the set command to list options that have changed from their defaults, including those that you did not explicitly change within your session.

3) The set command lists three changed options: redraw, showmode and term=vt100.
The set command lists three changed options: redraw, showmode and term=vt100. Their default values are noredraw

4) The redraw and term options ensure that vi correctly displays text on your terminal.The redraw and term options ensure that vi correctly displays text on your terminal.
The redraw and term options ensure that vi correctly displays text on your terminal. UNIX defines your terminal settings at log in and passes them to vi through the redraw and term options.

5) You can explicitly change options within your version.
You can explicitly change options within your version.

6) Later on, you can enter the set command to check your options again.
Later on, you can enter the set command to check your options again.

7) The listing now shows the ignorecase option that you turned on.
The listing now shows the ignorecase option that you turned on.