{"action":"created","issue":{"url":"https://api.github.com/repos/ritzyed/ritzy/issues/6","labels_url":"https://api.github.com/repos/ritzyed/ritzy/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ritzyed/ritzy/issues/6/comments","events_url":"https://api.github.com/repos/ritzyed/ritzy/issues/6/events","html_url":"https://github.com/ritzyed/ritzy/issues/6","id":102622616,"number":6,"title":"On OS X, shortcuts for text formatting should use the Command key","user":{"login":"mhodgson","id":8408,"avatar_url":"https://avatars.githubusercontent.com/u/8408?v=3","gravatar_id":"","url":"https://api.github.com/users/mhodgson","html_url":"https://github.com/mhodgson","followers_url":"https://api.github.com/users/mhodgson/followers","following_url":"https://api.github.com/users/mhodgson/following{/other_user}","gists_url":"https://api.github.com/users/mhodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/mhodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhodgson/subscriptions","organizations_url":"https://api.github.com/users/mhodgson/orgs","repos_url":"https://api.github.com/users/mhodgson/repos","events_url":"https://api.github.com/users/mhodgson/events{/privacy}","received_events_url":"https://api.github.com/users/mhodgson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-23T13:59:24Z","updated_at":"2015-08-24T19:04:39Z","closed_at":null,"body":"Currently they use the control key, which is not consistent with any other editor on the platform."},"comment":{"url":"https://api.github.com/repos/ritzyed/ritzy/issues/comments/134342001","html_url":"https://github.com/ritzyed/ritzy/issues/6#issuecomment-134342001","issue_url":"https://api.github.com/repos/ritzyed/ritzy/issues/6","id":134342001,"user":{"login":"rocketraman","id":53049,"avatar_url":"https://avatars.githubusercontent.com/u/53049?v=3","gravatar_id":"","url":"https://api.github.com/users/rocketraman","html_url":"https://github.com/rocketraman","followers_url":"https://api.github.com/users/rocketraman/followers","following_url":"https://api.github.com/users/rocketraman/following{/other_user}","gists_url":"https://api.github.com/users/rocketraman/gists{/gist_id}","starred_url":"https://api.github.com/users/rocketraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rocketraman/subscriptions","organizations_url":"https://api.github.com/users/rocketraman/orgs","repos_url":"https://api.github.com/users/rocketraman/repos","events_url":"https://api.github.com/users/rocketraman/events{/privacy}","received_events_url":"https://api.github.com/users/rocketraman/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T19:04:39Z","updated_at":"2015-08-24T19:04:39Z","body":"> @rocketraman sure. If you care to check it out, Keypress.js has feature parity with Mousetrap and can take care of the platform differences for you.\r\n\r\nThanks for the pointer. I remember looking at Keypress.js before and went with Mousetrap because the API seemed a bit simpler.\r\n\r\nJust perusing the Mousetrap site again and it looks like Mousetrap now has the `mod` keyword for the same purpose:\r\n\r\n> Mousetrap 1.4 introduced a generic mod helper which lets you set cross platform shortcuts.\r\n> ```Mousetrap.bind('mod+s', _saveDraft);```\r\n> On Mac this ends up mapping to command+s whereas on Windows and Linux it maps to ctrl+s.\r\n\r\nI'll give it a shot!"}}