Custom keybindings

By editing $HOME/.radium/keybindings.conf, you can add custom keybindings.

Example:

*
import radium as ra
*

Z CTRL_L : ra.openAboutWindow
...will change left ctrl + z into open the about window instead of undoing.

Note that Radium needs to be restarted for the new keybindings to take effect.

For more examples, look at the default keybindings.conf file, and look at protos.conf for a complete list of available functions.

If you want to run S7 Scheme code, or Python code, use the functions ra.evalScheme or ra.evalPython:

*
import radium as ra
*

X CTRL_L : ra.evalPython "ra.openAboutWindow()"
C CTRL_L : ra.evalScheme "(ra:open-about-window)"

Note that any code between the asterisks are executed as python code when Radium starts up. ("import radium as ra" is pure python code). This makes it posssible to add custom functions and classes in a convenient way.