Hi,
You will have to define vairable _editor.
on slqplus prompt,
SQL>define _EDITOR=vi

You can have this line define _EDITOR=vi in glogin.sql or login.sql
so that you need not define it everytime sqlplus is invoked.

You make sure that u have the full rights in temp & ur default directory.