[Openmcl-devel] Keybindings

Ron Garret ron at awun.net
Wed Jun 24 22:04:31 PDT 2009


Pressing TAB indents the current line, but not the current region (if  
there's one selected.  If I do this:

(hi:bind-key "Indent Region" #k"tab")

then TAB indents the current region if one is selected, but not the  
current line if one is not.

Is there any way to get TAB to do both depending on whether or not  
there is a selection?

And while I'm at it...

is there a way to get a list of all the current keybindings, and a  
list of all of the commands available to be bound to key events?

Thanks,
rg




More information about the Openmcl-devel mailing list