Hacker News new | ask | show | jobs
by hardik988 5264 days ago
Thanks so much for that! I also added in a Ctrl+S capture because I have an irritating habit of pressing it! Kudos!
1 comments

Mind sharing your code for that? I think I tried implementing that originally but I could never get it to work.
I just used the shortcut.js library.. You can find it here : http://www.openjs.com/scripts/events/keyboard_shortcuts/