You should take a look
You must be registered to see the links
.
The bit that interest you the most:
To change a binding, update the appropriate list in
You must be registered to see the links
. The following adds the 't' key to the list of keys that dismiss a say statement, and removes the space key from that list.
Code:
init:
$ config.keymap['dismiss'].append('t')
$ config.keymap['dismiss'].remove('K_SPACE')
You don't have to remove old key (unless you want to use it for something else), so
Code:
init:
$ config.keymap['console'].append('y')
will suffice.
I'm not sure about commands thou, I guess that depends on what exactly do you need, but you'll probably need to wait for someone who actually knows what they're doing