Assigns a prefix command to a character sequence.
Scope: File
Syntax
query actionprefix.prefixcommand
set actionprefix.prefixcommand [Command]
Options
prefixcommand |
Prefix command to be defined. This can be any non- numeric character sequence. Character case is not significant. |
Command |
Any Editor command, and its associated
parameters, if any. If Command is omitted, prefixcommand becomes undefined. The text will be left in the prefix area until it is explicitly reset with the prefixentry parameter. |
Description
The actionprefix parameter assigns a prefix command to a character sequence for the current file only. When the assigned sequence is entered in the prefix area, the command is carried out, provided that the actions parameter is set to on.
Multiple commands can be attached to an actionprefix character sequence by using the mult command.
Use the actionprefixlist parameter to see a list of prefix commands already defined for the current editing session.
Example
To define a prefix command 'D' that will delete the current line, type:
set actionprefix.D delete
Entering D into the prefix area will delete the current line.
Return Codes
None.
![]()
actionprefixlist parameter
prefixentry parameter
