Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
extended keyboard shortcuts
does anyone here use the keyboard shortcuts in gmail? like j and k to go forward and backwards between messages, g i to go to the inbox, etc? i love the ability to move between tabs with alt-d, but does anyone know how to go about much more involved shortcuts?
0
This discussion has been closed.
Comments
i'd like the ability to move between discussions and tabs and options within vanilla with more precision by using keyboard shortcut keys ala gmail.
i've done some research, and it looks like the code as a whole is handled by a <body onkeypress> javascript event, but i'm too out of touch with javascript and dhtml to think much futher than that.
You can simply add a class to the existing classes: That's untested, so the regexps will probably need a little tweaking, but it shows it isn't too hard to just add in classes.
Yes. If you tried to find a "j" with that feature, you would suddenly find yourself on a different page!
I think it would be wise to advance the script a bit in the following ways:
- Allow the user to enable/disable/configure this extension via their account page
- Offer a second method for this, by adding empty links with accesskeys (Alt+j, Alt+k, etc)
Any others?Quick disclaimer: I don't wish to give the impression that what has already been achieved is poor quality or badly thought-out, since it's clearly good work! Rather, I think it'd be nice to continue to improve upon it where possible. Hope the author doesn't mind