allow motion and resize key-bindings to be repeated without the prefix
cleanup comments and organize a bit