Search notes:

SQL*Plus: edit

Edit the most recently executed SQL statement in an editor.
The editor that is fired up by executing edit is specified in the predefined variable _editor.
SQL> define _editor=gvim
…
SQL> edit

See also

SQL*Plus

Index