(set-on-unhandled-escape vim callback)

Example

(set-on-unhandled-escape vim (fn [] (println "User pressed Esc in normal mode")))