Keymaster.js: painless keyboard shortcuts for javascript
Hmm. Binds all events to `document`, which means that if you type something in a text field, it'll still trigger the event. (One of the TODOs is "Make behavior with INPUT / SELECT / TEXTAREA configurable.)<p>Thing is, jQuery Hotkeys (<a href="https://github.com/jeresig/jquery.hotkeys" rel="nofollow">https://github.com/jeresig/jquery.hotkeys</a>) is more versatile (since you can bind events to any element), works under a wider range of browsers, and is nearly as lightweight (if you already depend on jQuery).<p>Though, I do like the hipness of using "⌥" and "⌘" instead of "alt" and "meta". I might make a fork of jQuery Hotkeys just for that.