Possible methods for implementing Insert quoted character

I want to implement Borland IDE CTRL-P. It is for inserting control characters, you press CTRL-P a and CTRL-A gets inserted.

I have skills to do it like this:

'ctrl-p a: “borland-cpp:insert-ctrl-a”

One command per control character.

I found package https://github.com/klorenz/atom-character-table. This is creating a view. I do not understand CofeeScript much, its possible to do similar thing but without implementing GUI View? I do not see in that code where is hooked to keypress events.