When you want to bind multiple keys to the same rvalue, it would be nice to be able to do it in one line.
# assign both the left control and caps lock keys to speed-down
# we use curly braces because square brackets are already taken by the TOML syntax
{lctl, caps} = speed-down
It would be nice to be able to reference the current layer name (at compilation time), for instance when creating enter
and exit
buttons.
[scroll.arrow-keys]
[[public]]
# &layer resolves to `scroll.arrow-keys` based on context
enter = (layer-add &layer)
[[private]]
exit = (layer-rem &layer)