If you are using Oracle in Unix or Linux make an entry in the
glogin.sql file for your default editor.
define_editor vi
You will find glogin.sql in OracleHome/sqlplus/admin directory.