Next Previous Up Top Contents Index

10.1 Customizing the editor

10.1.3 Binding commands to keystrokes

You can bind existing editor commands to different keystrokes, usingeditor:bind-key. Supplied with LispWorks is the fileconfig\key-binds.lisp, which gives sets up the standard key bindings for LispWorks.

The following example shows how to rebind? so that it behaves as an ordinary character in the echo area of a Common LispWorks tool -- this can be useful if your symbol names include question marks.

(editor:bind-key "Self Insert" #\? :mode "Echo Area")

Since? is then no longer available for help, you may wish to rebind help toCtrl+?.

(editor:bind-key "Help on Parse" #\C-? :mode "Echo Area")


LispWorks User Guide - 14 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker