fix #301, remove sublime text shortcuts that are the same as the shortcuts for run and stop

This commit is contained in:
Cassie Tarakajian 2017-02-17 13:30:33 -05:00
parent 9f178eaf48
commit 89972bf2ae

View file

@ -71,6 +71,11 @@ class Editor extends React.Component {
}
});
this._cm.setOption('extraKeys', {
'Cmd-Enter': () => null,
'Shift-Cmd-Enter': () => null
});
this.initializeDocuments(this.props.files);
this._cm.swapDoc(this._docs[this.props.file.id]);