Administration > Customizing the Arbortext Editor Interface
Customizing the Arbortext Editor Interface
Creating Keyboard Shortcuts
Arbortext Editor is installed with a set of default key mappings. You can change these or create new ones using the map command. You can then specify these key mappings in a configuration file so that they work each time you use Arbortext Editor.
To check the list of the current default key mappings, at the Arbortext Editor command line, type:
show fullkeymap
Arbortext Editor displays a list of key mappings defined in the system startup files, including any that may be in the custom directory.
To see a list of custom key mappings that may have already been defined, type:
show keymap
To create a keyboard shortcut:
1. At the Arbortext Editor command line, type:
map key-sequence command
For example, to map the key sequence ALT+I to insert the indexterm tag, type the following on the command line:
map ALT+I insert_tag indexterm
2. If you enter a map command from the Arbortext Editor command line and later exit Arbortext Editor, your shortcut is not saved. If you want to make your key mappings persist in future sessions, add them to your user startup file.
Open your user startup file (instance.acl). Add an entry such as:
# keymap for specific action
map key-sequence command
Using the previous example, you would type:
# insert the indexterm tag
map ALT+I insert_tag indexterm