{"action":"closed","issue":{"url":"https://api.github.com/repos/zodiac/isicp/issues/43","labels_url":"https://api.github.com/repos/zodiac/isicp/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/zodiac/isicp/issues/43/comments","events_url":"https://api.github.com/repos/zodiac/isicp/issues/43/events","html_url":"https://github.com/zodiac/isicp/issues/43","id":47614236,"number":43,"title":"Allow Cmd-Enter evaluation for Mac users","user":{"login":"lambdahands","id":3742606,"avatar_url":"https://avatars.githubusercontent.com/u/3742606?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdahands","html_url":"https://github.com/lambdahands","followers_url":"https://api.github.com/users/lambdahands/followers","following_url":"https://api.github.com/users/lambdahands/following{/other_user}","gists_url":"https://api.github.com/users/lambdahands/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdahands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdahands/subscriptions","organizations_url":"https://api.github.com/users/lambdahands/orgs","repos_url":"https://api.github.com/users/lambdahands/repos","events_url":"https://api.github.com/users/lambdahands/events{/privacy}","received_events_url":"https://api.github.com/users/lambdahands/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-03T16:36:15Z","updated_at":"2015-03-29T17:24:46Z","closed_at":"2015-03-29T17:24:46Z","body":"Hey, I'm really digging this project. I noticed I have to run `Ctrl-Enter` to evaluate code; however, a common convention is to allow Mac users to use `Cmd-Enter` as well.\r\n\r\nI noticed your'e using CodeMirror, and from a previous previous commit that solves #11, you could do something like this:\r\n\r\n```js\r\neditor.setOption('extraKeys', {'Cmd-Enter': function() {\r\n  editor.getOption(\"onBlur\")();\r\n}});\r\n```\r\n\r\nThoughts?"}}