Add support for specifying keyboard shortcuts.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>