First of all a quick hello to the community, i'm a new radium user/subscriber from france, i still have a lot to learn but i love it so far, a big thanks to the devs, or anyone who makes this tool possible.
i would like to assign functions like "Insert existing block", "clone editor block", or "generate color" to keybindings.
but i can't find them in the keybindings.conf file.
is there a reference somewhere to all the functions that i can assign to keybindings? are they already all in the keybindings.conf file ?
thanks and happy tracking
List functions assignable to keybindings?
Re: List functions assignable to keybindings?
Unfortunately, the reference of functions is very sparse although it contains all functions. You'll find it here: https://github.com/kmatheussen/radium/b ... rotos.conf
The functions you are referring to are however not separate functions. But they are implemented in scheme (see bin/scheme/mouse.scm), so if you know some programming, you look at that code.
To insert the current block into the current seqblock at the current position, you can use 'ra.insertSeqblock'.
To clone the current editor block, you can do this:
To generate color for the current editor block, you can do this:
The functions you are referring to are however not separate functions. But they are implemented in scheme (see bin/scheme/mouse.scm), so if you know some programming, you look at that code.
To insert the current block into the current seqblock at the current position, you can use 'ra.insertSeqblock'.
To clone the current editor block, you can do this:
Code: Select all
ra.evalScheme "(undo-block (lambda () (<ra> :copy-block) (define new-blocknum (<ra> :append-block)) (<ra> :select-block new-blocknum) (<ra> :paste-block)))"
Code: Select all
ra.evalScheme "(<ra> :set-block-color (<ra> :generate-new-block-color))"
Re: List functions assignable to keybindings?
awesome !
i'll have a closer look this weekend, but this seems like everything i need to know to setup my keybindings anyway i want,
thanks a lot. \o/
i'll have a closer look this weekend, but this seems like everything i need to know to setup my keybindings anyway i want,
thanks a lot. \o/