I had to use the latest master commit (v1.9.3-99-g240d8a0e) for this to work since apparently there is a bug in v.1.9.3 that ignores the binding of ESC.