AT&T G3 manual Issue 2 April 1996 C-5

Models: G3

1 287
Download 287 pages 31.55 Kb
Page 267
Image 267

Basic vi

vi Editor

Function

Command

Operation

 

 

 

Utility

/pattern

Forward pattern search

 

 

 

 

?pattern

Backward pattern search

 

 

 

 

n

Repeat previous pattern

 

 

search

 

 

 

 

.

Repeat last command

 

 

 

 

u

Undo last command

 

 

 

 

:! command

Escape to the shell to run

 

 

the command

 

 

 

 

:r !command

Read command output into

 

 

buffer

 

 

 

 

:! !

Repeat previous shell-level

 

 

command

 

 

 

 

:!command %

Execute a shell-level

 

 

command with the current

 

 

filename as the argument.

 

 

 

Issue 2 April 1996 C-5

Page 267
Image 267
AT&T G3 manual Issue 2 April 1996 C-5