Basic vi

vi Editor

vi Editor

Commands Some basic vi commands follow.

Function

Command

Operation

 

 

 

Enter/Leave

vi [filename]

Open a file

vi

 

 

ZZ

Write the contents of the

 

 

 

buffer to disk

 

 

 

Command

Esc

Enter command mode

mode

 

 

 

 

 

C-2Issue 2 April 1996

Page 264
Image 264
AT&T G3 manual Vi Editor, Function Command Operation