Keystrokes from browser

Gmail has keystrokes now and I’m kind of jealous. What javascript
library are they using? Any tips or leads on helper functions?

-Mike

On 11/13/05, Mike S. [email protected] wrote:

Gmail has keystrokes now and I’m kind of jealous. What javascript
library are they using? Any tips or leads on helper functions?

-Mike

Mike,

I imagine they’re using a custom onkeypress event handler to do their
keybinding mojo. I don’t know what they’re doing, but I know how I’d
approach the problem:

  1. A body event handler ()
  2. Let useViKeyBindings check for keypress events, check the keycodes,
    and
    do something useful when it finds one I like.

I could be completely off my rocker, but that’s how I’d start. Of
course,
where I end up tends to be pretty far from where I start, so you might
to
start somewhere else. Like San Francisco or something.