Next: , Previous: Coot State, Up: Scripting


3.10.4 Key Binding

“Power users” of Coot might like to write their own functions and bind that function to a keyboard key. How do they do that?

By using the add-key-binding function:

(add-key-binding function-name key function)

where key is a quoted string (note that upper case and lower case keys are distinguished - activate get upper case key binding you need to chord the shift key 1).

for example:

(add-key-binding "Refine Active Residue with Auto-accept" "x" refine-active-residue)

Have a look at the key bindings section on the Coot wiki for several more examples.


Footnotes

[1] funny that