16.1 Input Editing

16.1.2 Input Editor Commands

Keyboard input to accept can be edited until an activation character is typed to terminate it. If the input cannot be parsed after an activation character is entered, it must be edited and re-activated. The input editor has several keystroke commands, as listed in Table 4, "Input Editor Keystroke Commands". Prefix numeric arguments to input editor commands can be entered using digits and the minus sign (-) withCONTROL andMETA (as in Emacs).

The function :add-input-editor-command can be used to bind one or more keys to an input editor command. Any character can be an input editor command, but by convention only non-graphic characters should be used.
Input Editor Keystroke Commands
Command CharacterCommandCharacter
Forward characterC-fDelete previous character Rubout
Forward wordM-fDelete previous word M-Rubout
Backward characterC-bKill to end of line C-k
Backward wordM-bClear input bufferLispWorks: C-backspace
Beginning of lineC-aInsert new line C-o
End of lineC-eTranspose adjacent characters C-t
Next lineC-nTranspose adjacent words M-t
Previous lineC-pYank from kill ring C-y
Beginning of bufferM-<Yank from presentation history C-M-y
End of bufferM->Yank next item M-y
Delete next characterC-dScroll output history forward C-v
Delete next wordM-dScroll output history backward M-v

The input also supports "numeric arguments" (such asC-0,C-1,M-0, etc.) that modify the behavior of the input editing commands. For instance, the motion and deletion commands will be repeated as many times as specified by the numeric argument. Furthermore, the accumulated numeric argument will be passed to the command processor in such a way that substitute-numerical-marker can be used to insert the numeric argument into a command that was read via a keystroke accelerator.

CLIM 2.0 User's Guide - OCT 1998

Generated with Harlequin WebMaker