I tried `cm.on('keydown', function(e){alert(e)})`, but no event gets fired. What am I missing here?