Allow more common key names in key bindings.

This fixes issue #10233.
I think changing the regex above to match start of text is a simpler way to detect this.

```js
key.match(/^(Up|Down|Left|Right|\-)$/i)
```