Add support for binding ctrl+arrow keys

Rebased/revised version of #14.