Parsing keydown events

This post is obsolete; the $.keymap has changed significantly. Documentation is now at I've been playing around with creating an online editor, and one thing it needs is keyboard shortcuts. Control keys and the like don't register keypress events, so I have to use keydown to get the event.which (and I have to use […]