[Openmcl-devel] Uparrow and downarrow behavior

Ron Garret ron at flownet.com
Sun Apr 15 12:24:12 PDT 2012


I have a vague recollection of someone complaining on this list not too long ago about the default behavior of the up and down arrow keys, but I can no longer find the original message.  In any case, this code will rebind these keys to make the listener act as if it were a readline application:

(in-package :hemlock)
(bind-key "Previous Interactive Input" #k"uparrow" :mode "Listener")
(bind-key "Next Interactive Input" #k"downarrow" :mode "Listener")

I find this handy as well:

(bind-key "Kill Interactive Input" #k"control-w" :mode "Listener")

rg




More information about the Openmcl-devel mailing list