In SQL*Plus write:

define_editor='vi'

Hope that helps

Angel