Keybindings are inherited from parent modes unless overriden.
Here are some examples of key specifiactions:
The following special keys are available (case sensitive):
F1-F12 Home End PgUp PgDn Insert Delete Up Down Left Right Enter Esc BackSp Space Tab Center
Keyname can be preceeded by modifiers (A, C, G, S). If modifier is followed by a + (plus), the modifier key must be pressed to match the key specification. If the modifier key is followed by - (minus), the state of the modifier key is ignored.
Multiple-key combinations can be specified by separating them with _ (underline)
Keys are bound using the key command:
key [keyspec] { editor commands }
ASCII characters >= 32 are bound to TypeChar by default.
Any number of commands can be bound to a key combination or menu item. They are executed in sequence until one of them fails.
See ui_fte.fte configuration file for examples and default configuration.
Syntax:
abbrev 'old-word' 'new-string' abbrev 'old-word' { Macro }
Some examples of abbreviations:
abbrev 'wcsw' 'WinCreateStdWindow'; abbrev 'ifx' { KillWordPrev; InsertString 'if () {'; LineIndent; LineNew; InsertString '}'; LineIndent; MoveUp; MoveLineEnd; 3:MoveLeft; Fail; # do not insert typed character }
The first one defines a replacement string, while the second one defines an editor macro to be run.
For abbreviations to work, setting Abbreviations must be set to 1 for active mode.
Main menu displayed when editing in this mode.
Local menu used when editing in this mode.