DEFINE_EDITOR CLPPlus command

You can specify the editor that you want to use with the EDIT command during a CLPPlus session with the DEFINE_EDITOR command.

Invocation

The DEFINE_EDITOR command must be run from the CLPPlus interface.

Authorization

None.

Required connection

None.

Command syntax

Read syntax diagramSkip visual syntax diagramDEFINE_EDITOR= editor_name

Command parameters

editor_name
Specifies the name of the editor for the current CLPPlus session.

Examples

Example to use the Vim editor
You can set the editor to Vim with the following command:
SQL> DEFINE_EDITOR=vim
Example to use the Notepad++ editor
You can set the editor to Notepad++ with the following command:
SQL> DEFINE_EDITOR= C:\Program Files (x86)\Notepad++\notepad++.exe
Example to display the current editor setting
You can check the current editor setting by issuing the DEFINE_EDITOR command without the assignment operator and an editor name.
SQL> DEFINE_EDITOR

define_editor = C:\Program Files (x86)\Notepad++\notepad++.exe
Example to clear the editor setting
You can clear the editor setting by entering the command with the assignment operator without an editor name.
SQL> DEFINE_EDITOR=