From 89972bf2ae59651a9ada91685ffe886a69bd7070 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Fri, 17 Feb 2017 13:30:33 -0500 Subject: [PATCH] fix #301, remove sublime text shortcuts that are the same as the shortcuts for run and stop --- client/modules/IDE/components/Editor.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/modules/IDE/components/Editor.jsx b/client/modules/IDE/components/Editor.jsx index 23b0e0f8..6fd6ad12 100644 --- a/client/modules/IDE/components/Editor.jsx +++ b/client/modules/IDE/components/Editor.jsx @@ -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]);