In Linux, sqlplus has no command history. Please use the tool to do the same thing.
 
     1. apt-get install rlwrap

     2. rlwrap sqlplus
 
 
Then export the editor as vim, then it is cool.
 
export EDITOR=/usr/bin/vim