Keyboard helpers (closes #431)

\cc @dfilatov 

Should I write specs for this? ;)